diff options
| author | liuxueli <[email protected]> | 2021-08-24 10:29:04 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2021-08-24 10:29:04 +0800 |
| commit | 3412ad1afe34cb2994417fd3ad7361c7a8804a4e (patch) | |
| tree | cdd4f8fd85320ebf9fcfdc17ca56aa3bf7442db5 | |
| parent | f68700112e61d6b920799a0cad54e1c2fe539b6e (diff) | |
update ci/travis.sh
| -rw-r--r-- | ci/travis.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/travis.sh b/ci/travis.sh index 56f0553..24fe71f 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -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 |
