From c880b3e3141ba5229d4ddf8390c4b9e09cd832f8 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Sat, 17 Oct 2015 21:00:55 +0200 Subject: [PATCH] Add Travis builds with undefined behavior sanitizer Reviewed-by: Rich Salz Reviewed-by: Richard Levitte --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5d7cf6992..9354e12ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,13 +36,13 @@ matrix: env: CONFIG_OPTS="-fsanitize=address" - os: linux compiler: clang-3.6 - env: CONFIG_OPTS="--debug --strict-warnings -fsanitize=address" + env: CONFIG_OPTS="no-asm --debug --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined" - os: linux compiler: gcc-5 env: CONFIG_OPTS="-fsanitize=address" - os: linux compiler: gcc-5 - env: CONFIG_OPTS="--debug --strict-warnings -fsanitize=address" + env: CONFIG_OPTS="no-asm --debug --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined" exclude: - os: osx compiler: clang-3.6