mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
travis: Make sure error codes propagate outside of the if clause
This commit is contained in:
parent
043bcbfb2f
commit
1d7d86e709
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue