From 15fa6da2e3d6727db37e00b2cf8e3ad082474c91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arttu=20Yl=C3=A4-Outinen?= Date: Thu, 14 Jun 2018 09:56:08 +0300 Subject: [PATCH] Enable UndefinedBehaviorSanitizer in CI tests Adds an entry with -fsanitize=undefined to the Travis CI build matrix. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 38032937..c1b31870 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,9 @@ matrix: - compiler: clang env: CFLAGS='-fsanitize=thread' + - compiler: clang + env: CFLAGS='-fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment' + - compiler: gcc-4.8 env: KVZ_TEST_VALGRIND=1