Skip to content
Permalink
Browse files

travis: Use travis_terminate instead of exit

  • Loading branch information...
tbabej authored and pbeckingham committed Jan 1, 2019
1 parent 420892d commit 290fb4380c8df502ee1b8e085148316bba3a93b2
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis.yml
@@ -20,6 +20,6 @@ matrix:
install:
# Build the docker container
- pushd $TRAVIS_BUILD_DIR
- if [[ $CONTAINER != "osx" ]]; then docker-compose build test-$CONTAINER || exit 1; fi
- if [[ $CONTAINER != "osx" ]]; then docker-compose build test-$CONTAINER || travis_terminate 1; fi
script:
- if [[ $CONTAINER != "osx" ]]; then docker-compose up test-$CONTAINER || exit 1; else bash test/scripts/test_osx.sh || exit 1 ; fi
- if [[ $CONTAINER != "osx" ]]; then docker-compose up test-$CONTAINER || travis_terminate 1; else bash test/scripts/test_osx.sh || travis_terminate 1 ; fi

0 comments on commit 290fb43

Please sign in to comment.
You can’t perform that action at this time.