diff --git a/.travis.yml b/.travis.yml index dd3ab1ed2..622b57b7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,15 +41,15 @@ jobs: allow_failures: - env: TESTFLAGS="--coverage" CONTAINER="netaccess" -install: - - docker-compose pull - -script: +before_script: # This user is stored in the TravisCI repository settings in the UI As # of 2021-01-20 it is a read-only user in DockerHub but is used to # bypass rate limits imposed by DockerHub to non-authenticated # non-paying users. - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true + - docker-compose pull + +script: - >- docker-compose run --use-aliases -e TRAVIS_BRANCH