Skip to content

Commit 1b99c75

Browse files
authored
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: travis-ci/travis-ci#1066
1 parent 0b6a1f5 commit 1b99c75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
before_script:
3434
- ./check.py --test-waterfall --only-prepare
3535
script:
36+
- set -o errexit
3637
- flake8
3738
- BUILD_SUBDIR=${BUILD_SUBDIR:-.}
3839
- mkdir -p ${BUILD_SUBDIR} && cd ${BUILD_SUBDIR}

0 commit comments

Comments
 (0)