]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - .travis.yml
travis: replace set (+|-)e with travis_terminate
[thirdparty/systemd.git] / .travis.yml
index e57c199077edddc89f5f3566e4e7897c77c0bb78..6b50c9d9fdf9b34f9b236e6af54bf45157006280 100644 (file)
@@ -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