diff options
| author | liuxueli <[email protected]> | 2020-10-09 18:01:04 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-10-09 18:01:04 +0800 |
| commit | 0276d9e5091d632931c89d2bc9576cfaa87d3f84 (patch) | |
| tree | ee9551cddd4d09d59d6c7131dd4ef27f05004058 /ci | |
| parent | beb1d0943581513b8e745943f3bdb9a0b4b03ccb (diff) | |
增加changelog;编译时增加ASAN选项;生成二进制版本号;上传debuginfo至sentry
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/travis.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ci/travis.sh b/ci/travis.sh index ccfe6b2..56f0553 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -43,7 +43,8 @@ cd build cmake3 -DCMAKE_CXX_FLAGS=$CXX_FLAGS \ -DCMAKE_BUILD_TYPE=$BUILD_TYPE \ -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \ - -DENABLE_DEVEL=$ENABLE_DEVEL_SWITCH \ + -DASAN_OPTION=$ASAN_OPTION \ + -DVERSION_DAILY_BUILD=$TESTING_VERSION_BUILD \ .. make @@ -52,10 +53,12 @@ if [ -n "${PACKAGE}" ]; then make package fi -if [ -n "${UPLOAD}" ]; then +if [ -n "${UPLOAD_RPM}" ]; then cp ~/rpm_upload_tools.py ./ python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm +fi +if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then rpm -i $SYMBOL_TARGET*debuginfo*.rpm _symbol_file=`find /usr/lib/debug/ -name "$SYMBOL_TARGET*.so*.debug"` cp $_symbol_file ${_symbol_file}info.${CI_COMMIT_SHORT_SHA} |
