diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-09-02 23:22:01 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-09-08 09:01:11 +0200 |
commit | 2663035ea54d2ed540ed7c2b3728d9e73abe4dc7 (patch) | |
tree | 94abb3e6d7b9b0e2896f2ff3732fb8e4766bb913 /.travis.yml | |
parent | de7c66ab41ec24a318c1ae46c3fa1cb05b4c78e0 (diff) | |
download | bison-2663035ea54d2ed540ed7c2b3728d9e73abe4dc7.tar.gz |
CI: fail fast
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 923598de..2ee30dc4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -410,6 +410,9 @@ script: # with `Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m`, which makes # the test suite fail. - unset _JAVA_OPTIONS + + # Fail fast from now on. + - set -e - sftp bison@sftp.lrde.epita.fr:bison-$TRAVIS_BUILD_NUMBER.tar.xz - tar xf bison-$TRAVIS_BUILD_NUMBER.tar.xz - dir=$(tar tf bison-$TRAVIS_BUILD_NUMBER.tar.xz | sed 1q) @@ -423,4 +426,4 @@ script: - if test ${PART-2} = 2; then make maintainer-check-g++ VERBOSE=1 TESTSUITEFLAGS=-j2 || { cat tests/testsuite.log && false; }; fi after_script: - - if [[ $CC == "icc" ]]; then uninstall_intel_software; fi + - if [[ $CC == "icc" ]]; then uninstall_intel_software || true; fi |