You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/09/20 18:04:19 UTC

[groovy] 01/01: Disable cache

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch danielsun/disable-cache-20210921
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 2426be9cb7bcfdb08cb2f9a485a064ee2d5e23e4
Author: Daniel Sun <su...@apache.org>
AuthorDate: Tue Sep 21 02:04:05 2021 +0800

    Disable cache
---
 .travis.yml | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 32fcfec..999db21 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -60,16 +60,6 @@ script:
   - if [ "$TARGET_JAVA_HOME" != "" ]; then /tmp/install-jdk.sh --target "$TARGET_JAVA_HOME" --workspace "/home/travis/.cache/install-jdk" --feature "$FEATURE" --license "$LICENSE" --cacerts; fi
   - if [ "$BC" == "indy" ]; then travis_wait 60 ./gradlew test -Ptarget.java.home=$TARGET_JAVA_HOME; elif [ "$BC" == "sonar" ]; then travis_wait 60 ./gradlew sonarqube -Dsonar.login=$SONAR_LOGIN -Pcoverage=true; fi
 
-# As recommended in:
-# https://docs.travis-ci.com/user/languages/java/#Caching
-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/
 
 after_failure:
   - find /home/travis/build/apache/groovy/build/reports/dependency-verification -type f -name "*.html" | xargs cat