summaryrefslogtreecommitdiff
path: root/ci/travis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/travis.sh')
-rw-r--r--ci/travis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 11f31cb..6640e1a 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -37,7 +37,7 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then
yum install -y $INSTALL_DEPENDENCY_LIBRARY
fi
-if [ $ASAN_OPTION ];then
+if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ] ;then
source /opt/rh/devtoolset-7/enable
fi