travis: test to find out why upload doesn't work

experimental
Kirill Vainer 9 years ago
parent bc8ecc3bc3
commit 67fef7e767
  1. 4
      .travis.yml

@ -55,5 +55,9 @@ 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" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew uploadArchives || :'
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew bintrayUpload || :'

Loading…
Cancel
Save