summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-05-31 10:46:36 -0700
committerGitHub <noreply@github.com>2018-05-31 10:46:36 -0700
commit1b99c7507d75566ba6314e157ceadfbbbe8301e5 (patch)
treea82b8b93476b215d48d9da88d8dbcb9936dceb86
parent0b6a1f5aa243d8542c086d4274e43bf411d63d59 (diff)
downloadbinaryen-1b99c7507d75566ba6314e157ceadfbbbe8301e5.tar.gz
binaryen-1b99c7507d75566ba6314e157ceadfbbbe8301e5.tar.bz2
binaryen-1b99c7507d75566ba6314e157ceadfbbbe8301e5.zip
Fail fast (#1578)
If any of the commands in the build script fail we don't want to continue. Travis should really provide and option for this and it should probably be the default: https://github.com/travis-ci/travis-ci/issues/1066
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index bde120906..56854089c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,6 +33,7 @@ jobs:
before_script:
- ./check.py --test-waterfall --only-prepare
script:
+ - set -o errexit
- flake8
- BUILD_SUBDIR=${BUILD_SUBDIR:-.}
- mkdir -p ${BUILD_SUBDIR} && cd ${BUILD_SUBDIR}