diff options
author | Julian Fleischer <tirednesscankill@warhog.net> | 2018-08-03 18:05:22 +0200 |
---|---|---|
committer | Julian Fleischer <tirednesscankill@warhog.net> | 2018-08-27 12:23:25 +0200 |
commit | 728c82d029fc477ff3cb2681730ed57809cdc981 (patch) | |
tree | affe0fd22d15ff1b301f3be5d025034bf55a9481 | |
parent | 506890b24d19c6d1d83fe4b0e0652632db03f999 (diff) |
make script exit if a command fails
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 8de437f6fd..102fa9202c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,13 +29,13 @@ env: - WINEDEBUG=fixme-all - DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache" before_install: - - source .travis/test_03_before_install.sh + - set -o errexit; source .travis/test_03_before_install.sh install: - - source .travis/test_04_install.sh + - set -o errexit; source .travis/test_04_install.sh before_script: - - source .travis/test_05_before_script.sh + - set -o errexit; source .travis/test_05_before_script.sh script: - - source .travis/test_06_script.sh + - set -o errexit; source .travis/test_06_script.sh after_script: - echo $TRAVIS_COMMIT_RANGE - echo $TRAVIS_COMMIT_LOG @@ -49,11 +49,11 @@ jobs: language: python python: '3.6' install: - - source .travis/lint_04_install.sh + - set -o errexit; source .travis/lint_04_install.sh before_script: - - source .travis/lint_05_before_script.sh + - set -o errexit; source .travis/lint_05_before_script.sh script: - - source .travis/lint_06_script.sh + - set -o errexit; source .travis/lint_06_script.sh # ARM - stage: test env: >- |