Permalink
Browse files

Travis: move ASan back to Linux for full features

Address Sanitiser on OS X does not support leak detection.
  • Loading branch information...
1 parent 0f65d93 commit f48fec31d659dcc6a770d48abe8e95732e9d852e @zanchey zanchey committed Oct 16, 2016
Showing with 9 additions and 4 deletions.
  1. +9 −4 .travis.yml
View
@@ -27,24 +27,29 @@ matrix:
- CXXFLAGS="-g -m32" CFLAGS="-g -m32"
- os: linux
compiler: clang
+ env:
+ - CXXFLAGS="-g -fno-omit-frame-pointer -fsanitize=address" ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1
+ before_install: export CXX=clang++-3.8
addons:
apt:
+ sources:
+ - llvm-toolchain-precise-3.8
+ - ubuntu-toolchain-r-test
packages:
+ - clang-3.8
+ - llvm-3.8 # for llvm-symbolizer
- bc
- expect
- gettext
- libncurses5-dev
- env:
- - CXXFLAGS="-g -fno-omit-frame-pointer"
-
- os: osx
osx_image: xcode8
before_install:
- brew update
- brew install pcre2 # use system PCRE2
- brew outdated xctool || brew upgrade xctool # for xcode... soon.
env:
- - CXXFLAGS="-g -fno-omit-frame-pointer -fsanitize=address -lstdc++" ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1
+ - CXXFLAGS="-g -lstdc++"
fast_finish: true
script:

0 comments on commit f48fec3

Please sign in to comment.