summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
author刘学利 <[email protected]>2022-03-02 03:13:16 +0000
committer刘学利 <[email protected]>2022-03-02 03:13:16 +0000
commit377d0da92c63c2da69a727dba97184423a3c9e22 (patch)
treed4adcd0851c029b11d07283f155b048a5e5fd89e /ci
parent7e1f3eb3d6c6224dccb694375ef496704fa0fb8e (diff)
TSG-9690: 适配Rocky Linux8.5v3.6.1
Diffstat (limited to 'ci')
-rw-r--r--ci/travis.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index ec7750e..6e9056b 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -38,7 +38,7 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then
source /etc/profile.d/framework.sh
fi
-if [ $ASAN_OPTION ];then
+if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ] ;then
source /opt/rh/devtoolset-7/enable
fi
@@ -59,7 +59,7 @@ if [ -n "${PACKAGE}" ]; then
fi
-if [ -n "${UPLOAD_RPM}" ]; then
+if [ -n "${UPLOAD}" ]; then
cp ~/rpm_upload_tools.py ./
python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
fi