aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2018-11-07 23:01:27 +0100
committerEvgeny Vereshchagin <evvers@ya.ru>2018-11-08 13:49:45 +0100
commit79f6178ee1f05237074208dc832d5839ea89deb3 (patch)
treee2973bc0719de0af882c779e2076500f84cd6486 /travis-ci
parenttravis: also rebuild everything with ASan (diff)
downloadsystemd-79f6178ee1f05237074208dc832d5839ea89deb3.tar.gz
systemd-79f6178ee1f05237074208dc832d5839ea89deb3.tar.bz2
systemd-79f6178ee1f05237074208dc832d5839ea89deb3.zip
travis: move the ASan part into a separate stage
Diffstat (limited to 'travis-ci')
-rwxr-xr-xtravis-ci/managers/fedora.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/travis-ci/managers/fedora.sh b/travis-ci/managers/fedora.sh
index 644d1d2f0..d1ea920a1 100755
--- a/travis-ci/managers/fedora.sh
+++ b/travis-ci/managers/fedora.sh
@@ -9,7 +9,7 @@
# export CONT_NAME="my-fancy-container"
# travis-ci/managers/fedora.sh SETUP RUN CLEANUP
-PHASES=(${@:-SETUP RUN CLEANUP})
+PHASES=(${@:-SETUP RUN RUN_ASAN CLEANUP})
FEDORA_RELEASE="${FEDORA_RELEASE:-rawhide}"
CONT_NAME="${CONT_NAME:-fedora-$FEDORA_RELEASE-$RANDOM}"
DOCKER_EXEC="${DOCKER_EXEC:-docker exec -it $CONT_NAME}"
@@ -48,7 +48,8 @@ for phase in "${PHASES[@]}"; do
$DOCKER_EXEC meson -Dslow-tests=true build
$DOCKER_EXEC ninja -v -C build
$DOCKER_EXEC ninja -C build test
-
+ ;;
+ RUN_ASAN)
$DOCKER_EXEC git clean -dxff
$DOCKER_EXEC meson -Db_sanitize=address build
$DOCKER_EXEC ninja -v -C build