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: script:
- ./gradlew check - ./gradlew check
- ./gradlew createZipDistribution - ./gradlew createZipDistribution
- "[ $TRAVIS_BRANCH == 'master' ] && [ $TRAVIS_PULL_REQUEST == 'false' ] && ./gradlew uploadArchives;" - [ $TRAVIS_BRANCH == 'master' ] && [ $TRAVIS_PULL_REQUEST == 'false' ] && ./gradlew uploadArchives || :
before_deploy: before_deploy:
- export RELEASE_DIST=$(ls build/distributions/*.zip) - export RELEASE_DIST=$(ls build/distributions/*.zip)

Loading…
Cancel
Save