- CONF_GCOV=--enable-gcov
- CSA_CHECK=true
CPPCHECK=true
+ - SANITIZE=address
matrix:
exclude:
env: CONF_GCOV=--enable-gcov
- compiler: clang
env: CSA_CHECK=true CPPCHECK=true
+ - compiler: gcc
+ env: SANITIZE=address
+ - os: osx
+ env: SANITIZE=address
sudo: required
git clone --depth=3 https://github.com/danmar/cppcheck.git -b master;
make --directory cppcheck -j CXXFLAGS="-O3 -march=native -DNDEBUG";
fi
+ - if [[ "$SANITIZE" != "" ]]; then
+ CFLAGS_EXTRA="$CFLAGS_EXTRA -fsanitize=$SANITIZE -fno-common -fno-omit-frame-pointer";
+ fi
install:
- ./autogen.sh