sudo: required
dist: trusty
services:
  - docker

language: java
jdk:
  - oraclejdk8

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

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

before_script:
 - docker-compose up -d
 - sleep 60

before_install:
 - chmod +x gradlew

after_success:
  - bash <(curl -s https://codecov.io/bash)

sudo: required
dist: trusty
services:
  - docker

language: java
jdk:
  - oraclejdk8

before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

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

before_install:
  - chmod +x gradlew

before_script:
  - docker-compose up -d
  - sleep 30

after_success:
  - bash <(curl -s https://codecov.io/bash)

Reduce docker start-up wait time to 30 seconds
Reduce docker start-up wait time to 30 seconds
