Update travis.sh, ASAN using devtoolset-7

This commit is contained in:
杨威
2020-10-14 15:54:09 +08:00
parent dab58fabe1
commit 28cfd57e98

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