Travis: Added Clang AddressSanitizer and UndefinedBehaviorSanitizer

This commit is contained in:
Benoit Blanchon
2017-01-01 21:29:38 +01:00
parent c5388cf8e7
commit b923e8f4df
4 changed files with 17 additions and 1 deletions

7
scripts/travis/sanitize.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh -eux
curl https://cmake.org/files/v3.4/cmake-3.4.0-Linux-x86_64.tar.gz | tar xz -C /tmp --strip 1
/tmp/bin/cmake -DSANITIZE=true .
make
make test