diff options
| author | liuxueli <[email protected]> | 2022-03-04 14:08:05 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2022-03-04 14:08:05 +0800 |
| commit | b672af8e7e48ea426410497d7b0b22ca6767a879 (patch) | |
| tree | f8519c73534d354ffef309a6b991f3603191fb7d /ci | |
| parent | 1acf1e88819e4a55e5c8461a29f282a699a82f47 (diff) | |
TSG-9724: 适配Rocky Linux8.5v2.0.9
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/travis.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ci/travis.sh b/ci/travis.sh index 3c85ff4..0fbae20 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -33,12 +33,16 @@ env | sort : "${COMPILER_IS_GNUCXX:=OFF}" # Install dependency from YUM -if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then - yum install -y $INSTALL_DEPENDENCY_LIBRARY +if [ -n "${INSTALL_DEPENDENCY_FRAMEWORK}" ]; then + yum install -y $INSTALL_DEPENDENCY_FRAMEWORK source /etc/profile.d/framework.sh fi -if [ $ASAN_OPTION ];then +if [ -n "${INSTALL_DEPENDENCY_PLATFORM}" ]; then + yum install -y $INSTALL_DEPENDENCY_PLATFORM +fi + +if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ] ;then source /opt/rh/devtoolset-7/enable fi |
