summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2018-09-15 08:47:10 +0200
committerAkim Demaille <akim.demaille@gmail.com>2018-09-18 13:21:38 +0200
commit2b7dca1c86ee2f6c5951c2d671e2691a9fa5d088 (patch)
tree3b5a27ecbe00366a86a7483d44b222a7c1c3dcf6 /.travis.yml
parent3367d8dd5c9fdc53dc7c4c7961a6aee2187f34a4 (diff)
downloadbison-2b7dca1c86ee2f6c5951c2d671e2691a9fa5d088.tar.gz
CI: be sure to exit on failures
a807cfa6eb1a5362ead0b7c99bdc8fd2f4f896da completely broke the whole point of having a CI: we always exit with success!
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index da09fb99..c6ef82af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -193,8 +193,8 @@ script:
- git describe || git tag v3.0 -m "Fake version 3.0."
- git describe
- ./bootstrap
- - ./configure --enable-gcc-warnings CC="$CC" CXX="$CXX" || cat config.log
+ - ./configure --enable-gcc-warnings CC="$CC" CXX="$CXX" || { cat config.log && exit 1; }
- make -j2
- - make check VERBOSE=1 TESTSUITEFLAGS=-j2 || cat tests/testsuite.log
- - make maintainer-check-posix VERBOSE=1 TESTSUITEFLAGS=-j2 || cat tests/testsuite.log
- - make maintainer-check-g++ VERBOSE=1 TESTSUITEFLAGS=-j2 || cat tests/testsuite.log
+ - make check VERBOSE=1 TESTSUITEFLAGS=-j2 || { cat tests/testsuite.log && exit 1; }
+ - make maintainer-check-posix VERBOSE=1 TESTSUITEFLAGS=-j2 || { cat tests/testsuite.log && exit 1; }
+ - make maintainer-check-g++ VERBOSE=1 TESTSUITEFLAGS=-j2 || { cat tests/testsuite.log && exit 1; }