mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 04:58:57 +00:00
Travis: move ASan back to Linux for full features
Address Sanitiser on OS X does not support leak detection.
This commit is contained in:
parent
0f65d9306b
commit
f48fec31d6
1 changed files with 9 additions and 4 deletions
13
.travis.yml
13
.travis.yml
|
@ -27,16 +27,21 @@ matrix:
|
||||||
- CXXFLAGS="-g -m32" CFLAGS="-g -m32"
|
- CXXFLAGS="-g -m32" CFLAGS="-g -m32"
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
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:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
sources:
|
||||||
|
- llvm-toolchain-precise-3.8
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
|
- clang-3.8
|
||||||
|
- llvm-3.8 # for llvm-symbolizer
|
||||||
- bc
|
- bc
|
||||||
- expect
|
- expect
|
||||||
- gettext
|
- gettext
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
env:
|
|
||||||
- CXXFLAGS="-g -fno-omit-frame-pointer"
|
|
||||||
|
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode8
|
osx_image: xcode8
|
||||||
before_install:
|
before_install:
|
||||||
|
@ -44,7 +49,7 @@ matrix:
|
||||||
- brew install pcre2 # use system PCRE2
|
- brew install pcre2 # use system PCRE2
|
||||||
- brew outdated xctool || brew upgrade xctool # for xcode... soon.
|
- brew outdated xctool || brew upgrade xctool # for xcode... soon.
|
||||||
env:
|
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
|
fast_finish: true
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue