mirror of
https://github.com/boostorg/boost.git
synced 2025-04-16 18:24:43 +00:00
Release CI.. Only upload to bintray master branch builds.
This commit is contained in:
parent
9098b3401f
commit
86bfa71ac4
1 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
branches:
|
||||
only:
|
||||
- master
|
||||
- develop
|
||||
|
||||
sudo: false
|
||||
|
||||
language: c
|
||||
|
@ -125,13 +130,13 @@ script:
|
|||
|
||||
after_success:
|
||||
- |
|
||||
if [[ "${RELEASE_BUILD}" == "LF" ]]; then
|
||||
if [[ "${TRAVIS_BRANCH}" == "master" && "${RELEASE_BUILD}" == "LF" ]]; then
|
||||
cd "${TRAVIS_BUILD_DIR}/.."
|
||||
curl -v -T "${BOOST_RELEASE}.tar.gz" "-ugrafikrobot:${BINTRAY}" "https://api.bintray.com/content/boostorg/snapshots/${TRAVIS_BRANCH}/${TRAVIS_COMMIT}/${BOOST_RELEASE}.tar.gz?publish=1"
|
||||
curl -v -T "${BOOST_RELEASE}.tar.bz2" "-ugrafikrobot:${BINTRAY}" "https://api.bintray.com/content/boostorg/snapshots/${TRAVIS_BRANCH}/${TRAVIS_COMMIT}/${BOOST_RELEASE}.tar.bz2?publish=1"
|
||||
fi
|
||||
- |
|
||||
if [[ "${RELEASE_BUILD}" == "CRLF" ]]; then
|
||||
if [[ "${TRAVIS_BRANCH}" == "master" && "${RELEASE_BUILD}" == "CRLF" ]]; then
|
||||
cd "${TRAVIS_BUILD_DIR}/.."
|
||||
curl -v -T "${BOOST_RELEASE}.zip" "-ugrafikrobot:${BINTRAY}" "https://api.bintray.com/content/boostorg/snapshots/${TRAVIS_BRANCH}/${TRAVIS_COMMIT}/${BOOST_RELEASE}.zip?publish=1"
|
||||
curl -v -T "${BOOST_RELEASE}.7z" "-ugrafikrobot:${BINTRAY}" "https://api.bintray.com/content/boostorg/snapshots/${TRAVIS_BRANCH}/${TRAVIS_COMMIT}/${BOOST_RELEASE}.7z?publish=1"
|
||||
|
|
Loading…
Add table
Reference in a new issue