mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
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/
This commit is contained in:
parent
0f2d351f79
commit
5a573f2b91
17
.travis.yml
17
.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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user