]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Run test for undefined behaviour with Travis
authorAnders Björklund <anders@psqr.se>
Sun, 13 Nov 2016 15:53:31 +0000 (16:53 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 12 Feb 2017 13:57:13 +0000 (14:57 +0100)
.travis.yml

index 630a4f29372d40f41096cd4bfb67383b59276e8f..b86e21375f36c8f0fddab45eb234617fb6755609 100644 (file)
@@ -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"