language: java
jdk: openjdk7
script: ./gradlew check --info
deploy:
  provider: script
  script: ./gradlew publish --debug
  on:
    branch: release

language: java
jdk: openjdk7
script: ./gradlew check --info
deploy:
  provider: script
  script: ./gradlew publish --info
  on:
    branch: release

Revert back to --info for publishing
Revert back to --info for publishing