From: Anders Björklund Date: Sun, 13 Nov 2016 15:53:31 +0000 (+0100) Subject: Run test for undefined behaviour with Travis X-Git-Tag: v3.3.4~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4f2568607d77b753102e340dba6a3b4eb899046;p=thirdparty%2Fccache.git Run test for undefined behaviour with Travis --- diff --git a/.travis.yml b/.travis.yml index 630a4f293..b86e21375 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,9 @@ matrix: # - os: linux # compiler: i586-mingw32msvc-gcc # env: HOST="--host=i586-mingw32msvc" TEST="test/main.exe" + - os: linux + compiler: clang + env: CFLAGS="-fsanitize=undefined" ASAN_OPTIONS="detect_leaks=0" - os: linux compiler: clang env: CFLAGS="-fsanitize=address -g" ASAN_OPTIONS="detect_leaks=0"