sudo: required
language: java

jdk:
  - openjdk8
#  - openjdk11

matrix:
  allow_failures:
    - jdk: openjdk11

install:
  - TERM=dumb ./gradlew assemble

#before_script:
#  - sleep 15

script:
  - TERM=dumb ./gradlew testAll codeCoverageReport --stacktrace

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

#after_failure:
#  - TERM=dumb ./gradlew build testAll --stacktrace

sudo: required
language: java

jdk:
  - openjdk8
#  - openjdk11

matrix:
  fast_finish: true
  allow_failures:
    - jdk: openjdk11

install:
  - TERM=dumb ./gradlew assemble

#before_script:
#  - sleep 15

script:
  - TERM=dumb ./gradlew testAll codeCoverageReport --stacktrace

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

#after_failure:
#  - TERM=dumb ./gradlew build testAll --stacktrace

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

Improve Travis CI build Performance
Improve Travis CI build Performance