aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2018-02-08 15:01:19 +0100
committerDavid Rautureau <david.rautureau@sonarsource.com>2018-03-09 11:33:38 +0100
commit1a17e4302e4b63de6b4ce7c049441803b9471524 (patch)
tree031bcfbf302c7909c5b45a7c31f1bbc00a2fce34 /.travis.yml
parent21fbe3697bdb6e66016ef8d0bea49da574e02e7d (diff)
downloadsonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.tar.gz
sonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.zip
Move To Gradle
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 6 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 960ab66f8d7..1b1eb237819 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,17 +14,16 @@ matrix:
cache:
directories:
- - $HOME/.m2/repository
- $HOME/.sonar
- - server/sonar-web/node
- - server/sonar-web/node_modules
- $HOME/jvm
- - $HOME/maven
+ - $HOME/.gradle/caches/
+ - $HOME/.gradle/wrapper/
before_cache:
- # remove all the artifacts (JAR, ZIP) that are installed in local repo because of mvn deploy
- - rm -rf $HOME/.m2/repository/org/sonarsource/sonarqube
- - find $HOME/.m2 -name resolver-status.properties -exec rm {} \;
+ - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
+ - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
+ - rm -fr $HOME/.gradle/caches/*/fileHashes/
+ - rm -fr $HOME/.gradle/caches/*/scripts/
notifications:
email: false