travis: Use travis_terminate instead of exit

This commit is contained in:
Tomas Babej 2019-01-01 11:53:21 -05:00 committed by Paul Beckingham
parent 420892d7a9
commit 290fb4380c

View file

@ -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