aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-06-05 16:20:07 -0400
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-06-05 16:20:07 -0400
commit2344d62b47ae6b3d5ebcf0eff0dc2eb7d4a371d6 (patch)
treefb30dc4f56797237d0cef2875d86d3a2ad337059 /.travis.yml
parentad1d3c0990e2059af12da8e4daa8afe395a6a23e (diff)
Automatically run CI tests with clang
Fixes: #51
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 565bf5e..35c4be5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,7 @@ language:
- python
- c
python: "3.5"
-compiler: gcc
+compiler: gcc clang
install:
- sudo apt-get update -qq
- sudo apt-get install -qq doxygen libtool automake autoconf
@@ -14,3 +14,10 @@ script:
- make -j4
- doxygen doc/Doxyfile
- python -m pytest test/
+ - make clean
+ - make -j4 CC=clang CFLAGS="-fsanitize=address -g -O1"
+ - python -m pytest test/
+ - make clean
+ - make -j4 CC=clang CFLAGS="-fsanitize=thread,undefined -g -O1"
+ - python -m pytest test/
+