summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-03-04 15:18:20 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-03-04 15:18:20 +0800
commit85eda7d94354c52e34107c5e9b64b55d6f7ee15b (patch)
tree86d7c08bcfc8294646053eea9f6317191a5a0448 /.travis.yml
parent4b36e24735dcc0c81c412375b333073aa2c62323 (diff)
try fix travis sanitizer
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index f776307..4ee211e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,6 +9,7 @@ matrix:
- os: linux
compiler: gcc
env: WEXTRAFLAGS=-Werror
+ sudo: false
- env: MULTI=1 WEXTRAFLAGS=-Werror
# libtom has some warnings, so no WEXTRAFLAGS
- env: CONFIGURE_FLAGS=--enable-bundled-libtom WEXTRAFLAGS=""
@@ -21,12 +22,13 @@ matrix:
compiler: clang
env: WEXTRAFLAGS=""
- # TODO: fuzzing malloc wrapper doesn't replace free() in system libtomcrypt
+ # Note: the fuzzing malloc wrapper doesn't replace free() in system libtomcrypt, so need bundled.
- env: DO_FUZZ=1 CONFIGURE_FLAGS="--enable-fuzz --disable-harden --enable-bundled-libtom" WEXTRAFLAGS="" LDFLAGS=-fsanitize=address EXTRACFLAGS=-fsanitize=address
compiler: clang
+ # sanitizers need ptrace which is privileged https://github.com/travis-ci/travis-ci/issues/9033
+ sudo: required
# container-based builds
-sudo: false
addons:
apt:
packages: