Explorar o código

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

Tatsuhiro Tsujikawa %!s(int64=9) %!d(string=hai) anos
pai
achega
2e6720cc14
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      .travis.yml

+ 3 - 3
.travis.yml

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