diff options
| author | 杨威 <[email protected]> | 2020-10-14 14:47:19 +0800 |
|---|---|---|
| committer | 杨威 <[email protected]> | 2020-10-14 14:47:19 +0800 |
| commit | f6b07b0f922ecdf1703f7464f7c24f6046557f99 (patch) | |
| tree | 2fec77d4b00925b3117648d70ac91fcb7b7db72a | |
| parent | b4385fd4e5bbfa00bfc616d4a4ba9ba892f34127 (diff) | |
Update travis.sh, ASAN using devtoolset-7
| -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 56f0553..24fe71f 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 |
