👷 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:
- make check TEST_PREFIX="valgrind --error-exitcode=1 --leak-check=full " TEST_PATTERN=""
# CLang sanitizers
# cLang sanitizer
- os: linux
env:
- LLVM_VERSION=3.8.1
- SPECIAL=sanitizers
- SPECIAL=sanitizer
compiler: clang
after_success:
- make clean
- CXXFLAGS="-g -O2 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer" make check
before_script:
- CXXFLAGS="-g -O2 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer" make
# cppcheck