summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2020-06-10 17:48:14 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2020-06-11 10:22:09 +0200
commit5a573f2b91c3b04f46994a193f4a830d9d967030 (patch)
tree555fabef80746b19a394668120f1402ff4e58a8d /.travis.yml
parent0f2d351f790516bc3f1158d964c5f83f339addb2 (diff)
downloadsystemd-5a573f2b91c3b04f46994a193f4a830d9d967030.tar.gz
travis: replace set (+|-)e with travis_terminate
It looks nicer and works around https://travis-ci.community/t/exit-0-cannot-exit-successfully-on-arm/5731/
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 4 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
index e57c199077..6b50c9d9fd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -75,10 +75,7 @@ jobs:
install:
- $CI_MANAGERS/debian.sh SETUP
script:
- - set -e
- # Build systemd
- - $CI_MANAGERS/debian.sh RUN
- - set +e
+ - $CI_MANAGERS/debian.sh RUN || travis_terminate 1
after_script:
- $CI_MANAGERS/debian.sh CLEANUP
@@ -94,9 +91,7 @@ jobs:
install:
- $CI_MANAGERS/debian.sh SETUP
script:
- - set -e
- - $CI_MANAGERS/debian.sh RUN_ASAN
- - set +e
+ - $CI_MANAGERS/debian.sh RUN_ASAN || travis_terminate 1
after_script:
- $CI_MANAGERS/debian.sh CLEANUP
@@ -112,9 +107,7 @@ jobs:
install:
- $CI_MANAGERS/debian.sh SETUP
script:
- - set -e
- - $CI_MANAGERS/debian.sh RUN_CLANG
- - set +e
+ - $CI_MANAGERS/debian.sh RUN_CLANG || travis-travis_terminate 1
after_script:
- $CI_MANAGERS/debian.sh CLEANUP
@@ -130,9 +123,7 @@ jobs:
install:
- $CI_MANAGERS/debian.sh SETUP
script:
- - set -e
- - $CI_MANAGERS/debian.sh RUN_CLANG_ASAN
- - set +e
+ - $CI_MANAGERS/debian.sh RUN_CLANG_ASAN || travis_terminate 1
after_script:
- $CI_MANAGERS/debian.sh CLEANUP