diff options
| author | 杨威 <[email protected]> | 2020-10-14 15:09:01 +0800 |
|---|---|---|
| committer | 杨威 <[email protected]> | 2020-10-14 15:09:01 +0800 |
| commit | 8d3650fa9361adec459c581fa9fa8405941873c9 (patch) | |
| tree | f029e5e84713977adbce7db3a8e8dd480162d132 | |
| parent | 96ced5897125992ee29f8931800586bd87973ec1 (diff) | |
Update travis.sh, ASAN using devtoolset-7v2.9.3
| -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 a103aa1..8179750 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 |
