travis: move to clang 3.8 for ASan builds

This commit is contained in:
David Adam 2016-04-01 07:19:43 +08:00
parent 83233ccc5a
commit 4f5d42858c

View file

@ -18,22 +18,19 @@ matrix:
addons: addons:
apt: apt:
sources: sources:
# stick with 3.6; the 3.7 Debian binaries do not support ASan yet - llvm-toolchain-precise-3.8
# https://llvm.org/bugs/show_bug.cgi?id=22757
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- clang-3.6 - clang-3.8
- llvm-3.6 # for llvm-symbolizer - llvm-3.8 # for llvm-symbolizer
- bc - bc
- expect - expect
- gettext - gettext
- libncurses5-dev - libncurses5-dev
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_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1 - 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.8
- os: osx - os: osx
before_install: before_install: