summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨威 <[email protected]>2020-10-14 15:31:03 +0800
committer杨威 <[email protected]>2020-10-14 15:31:03 +0800
commit78b2c7e3edb76e6fadde3d00f8913a99484ca546 (patch)
tree021af4b12c7e4bf39672eb5f94b0bfc0b07140c0
parentfaf5b50ff052d316b7afad7a0d4759d26ac66460 (diff)
Update travis.sh, ASAN using devtoolset-7v3.3.1
-rw-r--r--ci/travis.sh5
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