From 2344d62b47ae6b3d5ebcf0eff0dc2eb7d4a371d6 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sun, 5 Jun 2016 16:20:07 -0400 Subject: Automatically run CI tests with clang Fixes: #51 --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.travis.yml') 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/ + -- cgit v1.2.3