aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-06-15 21:03:39 +0200
committerAnders Broman <a.broman58@gmail.com>2019-06-16 03:06:19 +0000
commit5d0fec3363c571040ebf3cd065d32b0e00008472 (patch)
tree8082b5e1c1b333ef64ded168884230c97a5ccbfb /.travis.yml
parentbfad6f03d64992794978c7deca9484f962620912 (diff)
travis: add -e to ci script.
This will stop if the build fails as soon as one command fails. This prevents for instance to run the tests if one executable failed to compile. A long discussion is still in place and this looks like the quickest solution: https://github.com/travis-ci/travis-ci/issues/1066 Change-Id: Ifa630bc37b43b4ee9693cebdbb5b8a6ddf127aad Reviewed-on: https://code.wireshark.org/review/33612 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 3574cf0ff6..5d212a95fb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -113,6 +113,7 @@ before_script:
- if [ "$TRAVIS_OS_NAME" != "windows" ]; then cmake -GNinja -DENABLE_PCAP=${PCAP} ..; fi
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cmake -A $PLATFORM ..; fi
script:
+ - set -e
# Enable parallelism for msbuild too (since CMake 3.12; ninja does not need it)
- export CMAKE_BUILD_PARALLEL_LEVEL=0
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cmake() { ../tools/filter-msbuild.py cmake "$@"; }; fi