Release CI.. Only upload to bintray master branch builds.

This commit is contained in:
Rene Rivera 2015-12-16 09:27:10 -06:00
parent 9098b3401f
commit 86bfa71ac4

View file

@ -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"