From 21726d8d8ffb2a58c0a88f03820e53e7f22f7f07 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 16 Aug 2017 08:11:02 +0200 Subject: [PATCH] :construction_worker: run sanitizer after tests --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ca0549782..312f25966 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,10 +43,8 @@ matrix: - make check TEST_PREFIX="valgrind --error-exitcode=1 --leak-check=full " TEST_PATTERN="" # 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 + compiler: clang env: - COMPILER=clang++-4.0 - SPECIAL=sanitizer @@ -54,7 +52,7 @@ matrix: apt: sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0'] packages: ['g++-6', 'clang-4.0'] - before_script: + after_success: - make clang_sanitize # cppcheck