language: java
jdk: openjdk11
env:
    global:
        - JAVA_TOOL_OPTIONS=-Dhttps.protocols=TLSv1.2
install:
  - ./gradlew --version
  - echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
script: ./gradlew --continue --init-script gradle/init-scripts/public-build-scan.init.gradle.kts sanityCheck
if: pull_request AND head_repo != gradle/gradle

language: java
jdk: openjdk11
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/modules-2/
env:
    global:
        - JAVA_TOOL_OPTIONS=-Dhttps.protocols=TLSv1.2
install:
  - ./gradlew --version
  - echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
script: ./gradlew --continue --init-script gradle/init-scripts/public-build-scan.init.gradle.kts sanityCheck
if: pull_request AND head_repo != gradle/gradle

Add Travis cache to mitigate Travis build errors
Add Travis cache to mitigate Travis build errors

Signed-off-by: cristian-garcia <c4ed6e0fb649b49f7d3c9ba112f5ab403f35b4ef@scmspain.com>
