From 3412ad1afe34cb2994417fd3ad7361c7a8804a4e Mon Sep 17 00:00:00 2001 From: liuxueli Date: Tue, 24 Aug 2021 10:29:04 +0800 Subject: [PATCH] update ci/travis.sh --- ci/travis.sh | 5 +++++ 1 file changed, 5 insertions(+) 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