aboutsummaryrefslogtreecommitdiff
path: root/.travis.sh
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2016-07-26 08:22:58 -0700
committerEvan Nemerson <evan@nemerson.com>2016-07-26 17:31:26 -0700
commit26a59359eda3b70081e57389c4496b86ec5622c2 (patch)
tree98a5088bb129eebcb51ebe423e9d83bad88ffe9b /.travis.sh
parent45862fcb063f6fcace2f57b5d882a747cd651242 (diff)
downloadbrotli-26a59359eda3b70081e57389c4496b86ec5622c2.tar.gz
Add UBSan build, use clang for sanitizer builds.
Diffstat (limited to '.travis.sh')
-rwxr-xr-x.travis.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.sh b/.travis.sh
index 6f3f3dc..2e8c2af 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -27,9 +27,9 @@ case "$1" in
case "${BUILD_SYSTEM}" in
"cmake")
mkdir builddir && cd builddir
- cmake -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DENABLE_SANITIZER="${SANITIZER}" ..
+ cmake -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DENABLE_SANITIZER="${SANITIZER}" -DCMAKE_C_FLAGS="${CFLAGS}" ..
make VERBOSE=1
- make test
+ ctest -V
;;
"python")
python setup.py build_ext test