diff --git a/.travis.yml b/.travis.yml index c76436c1f..d235af859 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,8 @@ before_install: install: - docker build --build-arg BUILD_COMMIT=$TRAVIS_COMMIT -t humanconnection/nitro-web . - 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\`" + - git clone https://github.com/Human-Connection/Nitro-Backend.git ../Nitro-Backend + - git -C "../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 - yarn global add cypress wait-on - yarn add cypress-cucumber-preprocessor