language: java

sudo: false

install: true

jdk:
- oraclejdk8

script:
- "./gradlew test jacocoTestReport jar --console=plain"

after_success:
- bash <(curl -s https://codecov.io/bash)
- test "$TRAVIS_BRANCH" = "master" && sh .travis/deploy_heroku.sh

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/"

language: java

sudo: false

install: true

services:
  - docker

jdk:
- oraclejdk8

script:
- "./gradlew test jacocoTestReport jar --console=plain"

after_success:
- bash <(curl -s https://codecov.io/bash)
- test "$TRAVIS_BRANCH" = "master" && sh .travis/deploy_heroku.sh

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/"

Include docker service on Travis
Include docker service on Travis
