mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Clone+install backend at $TRAVIS_BRANCH in build
This commit is contained in:
parent
6f782efbfb
commit
0922e0cfda
@ -19,7 +19,10 @@ before_install:
|
||||
|
||||
install:
|
||||
- docker build --build-arg BUILD_COMMIT=$TRAVIS_COMMIT -t humanconnection/nitro-web .
|
||||
- docker-compose up -d
|
||||
- docker-compose -f docker-compose.yml up -d
|
||||
- git clone --depth=50 https://github.com/Human-Connection/Nitro-Backend.git ../Nitro-Backend
|
||||
- git --work-tree=../Nitro-Backend checkout $TRAVIS_BRANCH || echo "Branch \`$TRAVIS_BRANCH\` does not exist, falling back to \`master\`"
|
||||
- docker-compose -f ../Nitro-Backend/docker-compose.yml up -d
|
||||
|
||||
script:
|
||||
- docker-compose exec webapp yarn run lint
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user