From 67fef7e767962b9fc27be70d2cdf4267198f6032 Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Thu, 25 Feb 2016 10:43:14 -0500 Subject: [PATCH] travis: test to find out why upload doesn't work --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 085c39e53..5f684cf51 100644 --- a/.travis.yml +++ b/.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 || :'