aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2015-09-04 09:19:04 +0200
committerDavid Gageot <david@gageot.net>2015-09-04 11:26:39 +0200
commit4621782bc3b63738f67957b1e8ca8a94906d0455 (patch)
treebee4d97a49d08c9d654e68a19321e419e82e9d02
parent692d67c831857cb13207ae2ecee14753b4e419c7 (diff)
downloadsonarqube-4621782bc3b63738f67957b1e8ca8a94906d0455.tar.gz
sonarqube-4621782bc3b63738f67957b1e8ca8a94906d0455.zip
Trying a better cache cleaning mechanism
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 7e5aeda364f..28ca7ed5111 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,8 +25,9 @@ cache:
- 'server/sonar-web/node_modules'
before_cache:
- - 'rm -rf $HOME/.m2/repository/org/codehaus/sonar'
- - 'rm -f server/sonar-web/npm-debug.log'
+ - 'find ~/.m2/repository -type d -name \*-SNAPSHOT -exec rm -rf {} \;'
+ - 'find ~/.m2/repository -name maven-metadata-\* -exec rm {} \;'
+ - 'find ~/.m2/repository -name resolver-status.properties -exec rm {} \;'
notifications:
email: false