From 040ce55a1b9e4c4411143585ee1b78edde12f8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A8=81?= Date: Wed, 14 Oct 2020 15:02:23 +0800 Subject: [PATCH] Update travis.sh, ASAN using devtoolset-7 --- ci/travis.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/travis.sh b/ci/travis.sh index a89b07e..11f31cb 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