From c4f2568607d77b753102e340dba6a3b4eb899046 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Anders=20Bj=C3=B6rklund?= Date: Sun, 13 Nov 2016 16:53:31 +0100 Subject: [PATCH] Run test for undefined behaviour with Travis --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.47.2