Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Travis: apply ASan/TSan flags to ZNC, not SWIG

  • Loading branch information...
commit 335a363ac44d789ca3fa0e58893a6b9f0cccd3ed 1 parent e11eb08
@DarthGandalf DarthGandalf authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 .travis.yml
View
8 .travis.yml
@@ -3,13 +3,13 @@ compiler:
- gcc
- clang
env:
- - CFGFLAGS= CXXFLAGS= LDFLAGS=
+ - CFGFLAGS= MYCXXFLAGS= MYLDFLAGS=
matrix:
include:
- compiler: clang
- env: CFGFLAGS=--enable-debug CXXFLAGS="-fsanitize=address -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls" LDFLAGS=-fsanitize=address
+ env: CFGFLAGS=--enable-debug MYCXXFLAGS="-fsanitize=address -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls" MYLDFLAGS=-fsanitize=address
- compiler: clang
- env: CFGFLAGS=--enable-debug CXXFLAGS="-fsanitize=thread -O1" LDFLAGS=-fsanitize=thread
+ env: CFGFLAGS=--enable-debug MYCXXFLAGS="-fsanitize=thread -O1" MYLDFLAGS=-fsanitize=thread
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libperl-dev python3-dev tcl-dev libsasl2-dev libgtest-dev libicu-dev
@@ -19,7 +19,7 @@ script:
- ./bootstrap.sh
- mkdir build
- cd build
- - ../configure --enable-perl --enable-python --enable-tcl --enable-cyrus --with-gtest=/usr/src/gtest $CFGFLAGS
+ - ../configure --enable-perl --enable-python --enable-tcl --enable-cyrus --with-gtest=/usr/src/gtest $CFGFLAGS CXXFLAGS="$CXXFLAGS $MYCXXFLAGS" LDFLAGS="$LDFLAGS $MYLDFLAGS"
- cat config.log
- make V=1
- make V=1 test

0 comments on commit 335a363

Please sign in to comment.
Something went wrong with that request. Please try again.