🚧 fixing coveralls and valgrind targets

This commit is contained in:
Niels Lohmann 2016-11-27 16:45:24 +01:00
parent e1f98fbfc0
commit 36c79113fb

View file

@ -39,7 +39,7 @@ matrix:
sources: ['ubuntu-toolchain-r-test']
packages: [g++-4.9, valgrind]
after_success:
- make check 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=""
# cppcheck
@ -68,6 +68,7 @@ matrix:
- tar xf lcov_1.11.orig.tar.gz
- sudo make -C lcov-1.11/ install
- gem install coveralls-lcov
- pip install --user cpp-coveralls
after_success:
- make clean
- CXXFLAGS="--coverage -g -O0" CPPFLAGS="-DNDEBUG" make check
@ -186,6 +187,10 @@ matrix:
env: LLVM_VERSION=3.8.1
compiler: clang
- os: linux
env: LLVM_VERSION=3.9.0
compiler: clang
#####################
# installation step #
#####################
@ -200,6 +205,7 @@ cache:
- ${TRAVIS_BUILD_DIR}/deps/llvm-3.7.1
- ${TRAVIS_BUILD_DIR}/deps/llvm-3.8.0
- ${TRAVIS_BUILD_DIR}/deps/llvm-3.8.1
- ${TRAVIS_BUILD_DIR}/deps/llvm-3.9.0
install: