summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨威 <[email protected]>2020-10-14 15:09:01 +0800
committer杨威 <[email protected]>2020-10-14 15:09:01 +0800
commit8d3650fa9361adec459c581fa9fa8405941873c9 (patch)
treef029e5e84713977adbce7db3a8e8dd480162d132
parent96ced5897125992ee29f8931800586bd87973ec1 (diff)
Update travis.sh, ASAN using devtoolset-7v2.9.3
-rw-r--r--ci/travis.sh4
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