bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/6] CI: fail fast


From: Akim Demaille
Subject: [PATCH 1/6] CI: fail fast
Date: Fri, 6 Sep 2019 22:27:48 +0200

---
 .travis.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index e8965593..ce34ade7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -415,6 +415,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 address@hidden: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)
@@ -428,4 +431,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
-- 
2.23.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]