From a6fb4c9b77ece6aba463f58e3129caa0e8ea29f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A8=81?= Date: Wed, 14 Oct 2020 15:58:37 +0800 Subject: [PATCH] Update travis.sh, ASAN using devtoolset-7 --- ci/travis.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/travis.sh b/ci/travis.sh index 60f79a2..d32c1c6 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