travis: Use travis_terminate instead of exit
This commit is contained in:
committed by
Paul Beckingham
parent
420892d7a9
commit
290fb4380c
@@ -20,6 +20,6 @@ matrix:
|
|||||||
install:
|
install:
|
||||||
# Build the docker container
|
# Build the docker container
|
||||||
- pushd $TRAVIS_BUILD_DIR
|
- 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:
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user