|
|
|
@ -25,7 +25,6 @@ install: |
|
|
|
|
script: |
|
|
|
|
- ./gradlew check |
|
|
|
|
- ./gradlew createZipDistribution |
|
|
|
|
- "[ $TRAVIS_BRANCH == 'master' ] && [ $TRAVIS_PULL_REQUEST == 'false' ] && ./gradlew uploadArchives || :" |
|
|
|
|
|
|
|
|
|
before_deploy: |
|
|
|
|
- export RELEASE_DIST=$(ls build/distributions/*.zip) |
|
|
|
@ -56,4 +55,5 @@ before_install: |
|
|
|
|
# export ANDROID_NDK=`pwd`/android-ndk-r10c |
|
|
|
|
|
|
|
|
|
after_success: |
|
|
|
|
- '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew uploadArchives || :' |
|
|
|
|
- '[ -n "$TRAVIS_TAG"" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew bintrayUpload || :' |
|
|
|
|