travis: enable leak detection in address sanitiser

Since #2849 was merged, there are no further leaks detected by the
address sanitiser. This makes it a good target to enable for Travis,
which will enable regression testing.

Closes #2851.
This commit is contained in:
David Adam 2016-03-28 20:56:56 +08:00
parent 0eb3fd6b3f
commit 2eb518f59c

View file

@ -32,7 +32,7 @@ matrix:
env: env:
- CXXFLAGS="-g -fno-omit-frame-pointer -fsanitize=address" - CXXFLAGS="-g -fno-omit-frame-pointer -fsanitize=address"
- ASAN_SYMBOLIZER_PATH="/usr/bin/llvm-symbolizer-3.6" - ASAN_SYMBOLIZER_PATH="/usr/bin/llvm-symbolizer-3.6"
- ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=0 - ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1
before_install: export CXX=clang++-3.6 before_install: export CXX=clang++-3.6
- os: osx - os: osx