diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-02-05 15:25:47 -0800 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2016-02-05 15:40:31 -0800 |
commit | 66719ac9e42d5fc85e3defaa52ab25c0ca547a23 (patch) | |
tree | 25c487903a62c62db4320c72a2e510da0525b14e | |
parent | 64452d23768464f9be9463cfb3037b501c380f40 (diff) | |
download | binaryen-66719ac9e42d5fc85e3defaa52ab25c0ca547a23.tar.gz binaryen-66719ac9e42d5fc85e3defaa52ab25c0ca547a23.tar.bz2 binaryen-66719ac9e42d5fc85e3defaa52ab25c0ca547a23.zip |
Fix travis ASAN build
Apparently ENV is something special for Travis and isn't just for
setting environment variables. Instead manually export the variables in
before_install.
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index b45d81118..9cc5981fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,13 +33,14 @@ matrix: packages: ['cmake', 'nodejs', 'g++-5'] allow_failures: - - env: COMPILER_VERSION=3.6 COMPILER_FLAGS="-fsanitize=address" ASAN_OPTIONS="detect_leaks=0" + - env: COMPILER_VERSION=3.6 COMPILER_FLAGS="-fsanitize=address" compiler: clang addons: *clang36 before_install: - export CC="${CC}-${COMPILER_VERSION}" - export CXX="${CXX}-${COMPILER_VERSION}" + - export ASAN_OPTIONS="detect_leaks=0 symbolize=1" install: - pip install --user flake8 |