From a5ce8b6e080d30fc27dde15fbabab99c4909ea16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ChangZhuo=20Chen=20=28=E9=99=B3=E6=98=8C=E5=80=AC=29?= Date: Wed, 21 May 2014 18:18:18 +0800 Subject: [PATCH] Add address sanitizer build to travis-ci --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index c7a1ad4..06e6e04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ matrix: env: CONFIGURE_OPTION='--enable-debug' COVERALLS=yes VALGRIND=no - compiler: gcc 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: - sudo apt-get update -qq