From 290fb4380c8df502ee1b8e085148316bba3a93b2 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 1 Jan 2019 11:53:21 -0500 Subject: [PATCH] travis: Use travis_terminate instead of exit --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index dee0cb657..bcb01551a 100644 --- a/.travis.yml +++ b/.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