👷 moved instructed build to "before_script" #394

This commit is contained in:
Niels Lohmann 2016-12-13 18:24:16 +01:00
parent 9b5411db57
commit 3f089cab2b

View File

@ -41,16 +41,15 @@ matrix:
after_success: after_success:
- 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 sanitizers # cLang sanitizer
- os: linux - os: linux
env: env:
- LLVM_VERSION=3.8.1 - LLVM_VERSION=3.8.1
- SPECIAL=sanitizers - SPECIAL=sanitizer
compiler: clang compiler: clang
after_success: before_script:
- make clean - CXXFLAGS="-g -O2 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer" make
- CXXFLAGS="-g -O2 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer" make check
# cppcheck # cppcheck