diff options
| author | 杨威 <[email protected]> | 2020-10-14 15:02:23 +0800 |
|---|---|---|
| committer | 杨威 <[email protected]> | 2020-10-14 15:02:23 +0800 |
| commit | 040ce55a1b9e4c4411143585ee1b78edde12f8a8 (patch) | |
| tree | bfbd390f25d944287355c767b3bc92fb5af42acd | |
| parent | cb4ad71c501eaba5e8a13094d4527d410029ee12 (diff) | |
Update travis.sh, ASAN using devtoolset-7
| -rw-r--r-- | ci/travis.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/travis.sh b/ci/travis.sh index a89b07e..11f31cb 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -37,6 +37,10 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then yum install -y $INSTALL_DEPENDENCY_LIBRARY fi +if [ $ASAN_OPTION ];then + source /opt/rh/devtoolset-7/enable +fi + mkdir build || true cd build |
