summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-09-02 23:22:01 +0200
committerAkim Demaille <akim.demaille@gmail.com>2019-09-08 09:01:11 +0200
commit2663035ea54d2ed540ed7c2b3728d9e73abe4dc7 (patch)
tree94abb3e6d7b9b0e2896f2ff3732fb8e4766bb913 /.travis.yml
parentde7c66ab41ec24a318c1ae46c3fa1cb05b4c78e0 (diff)
downloadbison-2663035ea54d2ed540ed7c2b3728d9e73abe4dc7.tar.gz
CI: fail fast
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
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