# HG changeset patch # User Matt Johnston # Date 1520147900 -28800 # Node ID 950913ea997627487eaf81a9fec38c73e3f187af # Parent 8c1f762c6e9d4a6462a8f4ca789f79f6ca8f03ee try fix travis sanitizer diff -r 8c1f762c6e9d -r 950913ea9976 .travis.yml --- a/.travis.yml Sun Mar 04 15:09:41 2018 +0800 +++ b/.travis.yml Sun Mar 04 15:18:20 2018 +0800 @@ -9,6 +9,7 @@ - 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 @@ 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: