Update travis.sh, ASAN using devtoolset-7

This commit is contained in:
杨威
2020-10-14 15:31:03 +08:00
parent faf5b50ff0
commit 78b2c7e3ed

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