diff options
| author | 杨威 <[email protected]> | 2020-10-14 15:58:37 +0800 |
|---|---|---|
| committer | 杨威 <[email protected]> | 2020-10-14 15:58:37 +0800 |
| commit | a6fb4c9b77ece6aba463f58e3129caa0e8ea29f9 (patch) | |
| tree | 3cba06a413c99aef40924ecbbb322a2aa0cba376 /ci/travis.sh | |
| parent | 57ab95aa6245d86844c4a5b67706166cfdef3a2d (diff) | |
Update travis.sh, ASAN using devtoolset-7
Diffstat (limited to 'ci/travis.sh')
| -rw-r--r-- | ci/travis.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/travis.sh b/ci/travis.sh index 60f79a2..d32c1c6 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -37,6 +37,11 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then yum install -y $INSTALL_DEPENDENCY_LIBRARY source /etc/profile.d/framework.sh fi + +if [ $ASAN_OPTION ];then + source /opt/rh/devtoolset-7/enable +fi + mkdir build || true cd build |
