Enable UndefinedBehaviorSanitizer in CI tests

Adds an entry with -fsanitize=undefined to the Travis CI build matrix.
This commit is contained in:
Arttu Ylä-Outinen 2018-06-14 09:56:08 +03:00
parent 16fe5e0593
commit 15fa6da2e3

View file

@ -24,6 +24,9 @@ matrix:
- compiler: clang - compiler: clang
env: CFLAGS='-fsanitize=thread' env: CFLAGS='-fsanitize=thread'
- compiler: clang
env: CFLAGS='-fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment'
- compiler: gcc-4.8 - compiler: gcc-4.8
env: KVZ_TEST_VALGRIND=1 env: KVZ_TEST_VALGRIND=1