Enable ASAN in travis build, and use Xcode7.3 to avoid std::make_shared bug

pull/732/head
Tatsuhiro Tsujikawa 2016-08-27 15:07:27 +09:00
parent 3cdde0f425
commit 2e6720cc14
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ matrix:
- os: linux - os: linux
compiler: clang compiler: clang
- os: osx - os: osx
osx_image: xcode7 osx_image: xcode7.3
compiler: clang compiler: clang
sudo: false sudo: false
addons: addons:
@ -42,7 +42,7 @@ before_script:
- autoreconf -i - autoreconf -i
- automake - automake
- autoconf - autoconf
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --without-openssl --without-gnutls --with-appletls --disable-nls ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --without-openssl --without-gnutls --with-appletls --disable-nls CPPFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address; fi
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then ./configure ; fi - if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then ./configure CPPFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address; fi
script: script:
- make CC="ccache $CC" CXX="ccache $CXX" check - make CC="ccache $CC" CXX="ccache $CXX" check