Skip to content

Commit

Permalink
travis: upload archives for tagged builds
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowislord committed Feb 25, 2016
1 parent 82689b6 commit 1f46722
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ before_install:
# export ANDROID_NDK=`pwd`/android-ndk-r10c

after_success:
- '[ "$TRAVIS_BRANCH" == "master" ] && echo running on master'
- '[ "$TRAVIS_PULL_REQUEST" == "false" ] && echo not a PR'
- '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && echo master and not PR'
- '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && echo upload archives! || :'
- '[ "$TRAVIS_BRANCH" == "master" ] && echo the branch is $TRAVIS_BRANCH'
- '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew uploadArchives || :'
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew bintrayUpload || :'
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew uploadArchives bintrayUpload || :'

0 comments on commit 1f46722

Please sign in to comment.