Skip to content

Commit

Permalink
Travis CI: Fail fast
Browse files Browse the repository at this point in the history
  • Loading branch information
gildegoma committed Aug 1, 2020
1 parent c1f4164 commit 5dfdab6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ cache:
- $DOCKER_CACHE_DIR

before_install:
- set -e # Let's fail fast (as Travis CI doesn't by default, see travis-ci/travis-ci#1066)
- if [[ -d $DOCKER_CACHE_DIR ]]; then ls $DOCKER_CACHE_DIR/tests_$PLATFORM*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-`uname -s`-`uname -m` > docker-compose
Expand Down

0 comments on commit 5dfdab6

Please sign in to comment.