try fix travis sanitizer

This commit is contained in:
Matt Johnston 2018-03-04 15:18:20 +08:00
parent 4b36e24735
commit 85eda7d943

View File

@ -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: