From 28cfd57e985c3a04263a0a33044fa81037aa5419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A8=81?= Date: Wed, 14 Oct 2020 15:54:09 +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