👷 run sanitizer after tests
This commit is contained in:
parent
df572aca79
commit
21726d8d8f
1 changed files with 2 additions and 4 deletions
|
@ -43,10 +43,8 @@ matrix:
|
||||||
- make check TEST_PREFIX="valgrind --error-exitcode=1 --leak-check=full " TEST_PATTERN=""
|
- make check TEST_PREFIX="valgrind --error-exitcode=1 --leak-check=full " TEST_PATTERN=""
|
||||||
|
|
||||||
# clang sanitizer
|
# clang sanitizer
|
||||||
# note: sadly clang's libc++ has errors when running with sanitize,
|
|
||||||
# so we use clang with gcc's libstdc++ which doesn't give those error.
|
|
||||||
# that's why we need to install g++-6 to get the lastest version
|
|
||||||
- os: linux
|
- os: linux
|
||||||
|
compiler: clang
|
||||||
env:
|
env:
|
||||||
- COMPILER=clang++-4.0
|
- COMPILER=clang++-4.0
|
||||||
- SPECIAL=sanitizer
|
- SPECIAL=sanitizer
|
||||||
|
@ -54,7 +52,7 @@ matrix:
|
||||||
apt:
|
apt:
|
||||||
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0']
|
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0']
|
||||||
packages: ['g++-6', 'clang-4.0']
|
packages: ['g++-6', 'clang-4.0']
|
||||||
before_script:
|
after_success:
|
||||||
- make clang_sanitize
|
- make clang_sanitize
|
||||||
|
|
||||||
# cppcheck
|
# cppcheck
|
||||||
|
|
Loading…
Reference in a new issue