language: java

matrix:
  include:
    - os: linux
      sudo: required
      jdk: oraclejdk8
    - os: linux
      sudo: required
      jdk: openjdk11

script: ./gradlew check --info --stacktrace --console=plain --max-workers=1 --no-daemon -Dkotlin.colors.enabled=false

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

matrix:
  include:
    - os: linux
      sudo: required
      jdk: oraclejdk8
    - os: linux
      sudo: required
      jdk: openjdk11

script: ./gradlew check --info --stacktrace --console=plain --max-workers=1 --no-daemon --build-cache -Dkotlin.colors.enabled=false

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/

Enable local build cache on Travis
Enable local build cache on Travis

Signed-off-by: Paul Merlin <a027184a55211cd23e3f3094f1fdc728df5e0500@gradle.com>
