diff --git a/.travis.yml b/.travis.yml index 2eb0f269f..eedb5be11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,7 +84,8 @@ matrix: - uidgid="$(id -nu):$(id -ng)" && sudo chown -R ${uidgid} ./ && cpp-coveralls --gcov-options '\-lp' -e libtpms - - env: CFLAGS="-fsanitize=address -g -fno-omit-frame-pointer" + - env: CFLAGS="-fsanitize=address -g -fno-omit-frame-pointer -fno-sanitize-recover" + ASAN_OPTIONS="halt_on_error=true" LIBS="-lasan" PREFIX="/usr" CONFIG="--with-openssl --prefix=${PREFIX} --without-seccomp" @@ -94,6 +95,7 @@ matrix: # Tspi_NV_WriteValue has an I/O error when using asan - echo -e '#!/usr/bin/env bash\nexit 0' > tests/test_parameters - env: CFLAGS="-fsanitize=undefined -g -fno-omit-frame-pointer -fno-sanitize-recover" + UBSAN_OPTIONS="halt_on_error=true" LIBS="-lubsan" PREFIX="/usr" CONFIG="--with-openssl --prefix=${PREFIX}"