summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2018-04-16 20:46:13 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2018-04-16 20:46:13 +0200
commite61c82175e7b9289f751755dacc92d2c29fb6ffe (patch)
tree3756e16eca99789fb6f1f2cd2c25b01fa741d428
parentfa33bf317aa9b455e08b211252092dd9110c49fb (diff)
downloadlibxml2-e61c82175e7b9289f751755dacc92d2c29fb6ffe.tar.gz
Run Travis ASan tests with "sudo: required"
See https://github.com/travis-ci/travis-ci/issues/9033
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index da481433..469f9c50 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,6 +13,7 @@ matrix:
env: CFLAGS="-O2 -std=c89 -D_XOPEN_SOURCE=700 -Werror -Wno-error=unused-function"
# clang with AddressSanitizer and UndefinedBehaviorSanitizer.
- compiler: clang
+ sudo: required
dist: trusty
env: CONFIG="--without-python"
CFLAGS="-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero,pointer-overflow -fno-sanitize-recover=all -Werror -Wno-error=unused-function -Wno-error=cast-align"