mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:27:28 +08:00
Travis: restore clang with trusty & included clang
Upgraded to using Tavis trusty dist (from precise) Ubuntu's clang is only 3.4 though. For fancy address, thread-sanitizer stuff, easier to do on OS X. We can use the clang that comes with xcode 8 beta.
This commit is contained in:
parent
ad7e9a8d56
commit
693d6879d3
20
.travis.yml
20
.travis.yml
|
@ -13,31 +13,27 @@ matrix:
|
||||||
- expect
|
- expect
|
||||||
- gettext
|
- gettext
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
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:
|
env:
|
||||||
- CXXFLAGS="-g -fno-omit-frame-pointer -fsanitize=address"
|
- CXXFLAGS="-g -fno-omit-frame-pointer"
|
||||||
- ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1
|
|
||||||
before_install: export CXX=clang++-3.8
|
|
||||||
|
|
||||||
- os: osx
|
- os: osx
|
||||||
|
osx_image: xcode8
|
||||||
before_install:
|
before_install:
|
||||||
- brew update
|
- brew update
|
||||||
- brew install pcre2 # use system PCRE2
|
- brew outdated pcre2 || brew upgrade pcre2 # use system PCRE2
|
||||||
|
- brew outdated xctool || brew upgrade xctool # for xcode... soon.
|
||||||
|
addons:
|
||||||
|
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
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user