Update travis.sh, ASAN using devtoolset-7

This commit is contained in:
杨威
2020-10-14 15:58:37 +08:00
parent 57ab95aa62
commit a6fb4c9b77

View File

@@ -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