travis: use default system clang for sanitizers

This commit is contained in:
David Adam 2019-02-05 13:37:43 +08:00
parent 74685899cb
commit aaa6cf4492

View file

@ -45,15 +45,9 @@ matrix:
- CXXFLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address" - CXXFLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address"
- 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
- UBSAN_OPTIONS=print_stacktrace=1:report_error_type=1 - UBSAN_OPTIONS=print_stacktrace=1:report_error_type=1
before_install: export CXX=clang++-3.8
addons: addons:
apt: apt:
sources:
- llvm-toolchain-precise-3.8
- ubuntu-toolchain-r-test
packages: packages:
- clang-3.8
- llvm-3.8 # for llvm-symbolizer
- expect - expect
- gettext - gettext
- libncurses5-dev - libncurses5-dev