Add address sanitizer build to travis-ci

This commit is contained in:
ChangZhuo Chen (陳昌倬) 2014-05-21 18:18:18 +08:00
parent 45690da3dc
commit a5ce8b6e08

View file

@ -9,6 +9,8 @@ matrix:
env: CONFIGURE_OPTION='--enable-debug' COVERALLS=yes VALGRIND=no env: CONFIGURE_OPTION='--enable-debug' COVERALLS=yes VALGRIND=no
- compiler: gcc - compiler: gcc
env: CONFIGURE_OPTION='--enable-debug' COVERALLS=yes VALGRIND=yes LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ env: CONFIGURE_OPTION='--enable-debug' COVERALLS=yes VALGRIND=yes LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
- compiler: clang
env: ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.4 CFLAGS='-fsanitize=address -g -O1'
install: install:
- sudo apt-get update -qq - sudo apt-get update -qq