language: java
jdk: oraclejdk8

notifications:
  email:
    on_success: always
    on_failure: always

after_success:
 - gradle/deploy_snapshot

language: java
jdk: oraclejdk8

notifications:
  email:
    on_success: always
    on_failure: always

after_success:
  - gradle/deploy_snapshot

before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

install: java -version

script:
  - ./gradlew -version
  - ./gradlew --refresh-dependencies clean check

Use cache at Travis CI
Use cache at Travis CI
