travis-ci: fix build failures on PRs / branches

experimental
Kirill Vainer 10 years ago
parent 168e1755ff
commit 2f6388c13b
  1. 2
      .travis.yml

@ -25,7 +25,7 @@ install:
script:
- ./gradlew check
- ./gradlew createZipDistribution
- "[ $TRAVIS_BRANCH == 'master' ] && [ $TRAVIS_PULL_REQUEST == 'false' ] && ./gradlew uploadArchives;"
- [ $TRAVIS_BRANCH == 'master' ] && [ $TRAVIS_PULL_REQUEST == 'false' ] && ./gradlew uploadArchives || :
before_deploy:
- export RELEASE_DIST=$(ls build/distributions/*.zip)

Loading…
Cancel
Save