Skip to content
Permalink
Browse files

travis: Make sure error codes propagate outside of the if clause

  • Loading branch information...
tbabej authored and pbeckingham committed Jan 1, 2019
1 parent 7153a03 commit 420892d7a996db5430c042cdccbbc0ac7d078177
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; fi
- if [[ $CONTAINER != "osx" ]]; then docker-compose build test-$CONTAINER || exit 1; fi
script:
- if [[ $CONTAINER != "osx" ]]; then docker-compose up test-$CONTAINER; else bash test/scripts/test_osx.sh ; fi
- if [[ $CONTAINER != "osx" ]]; then docker-compose up test-$CONTAINER || exit 1; else bash test/scripts/test_osx.sh || exit 1 ; fi

0 comments on commit 420892d

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