]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
Speed-up Travis builds by adding cache of Maven local repo
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 1 Jan 2015 15:40:17 +0000 (16:40 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 1 Jan 2015 15:40:17 +0000 (16:40 +0100)
.travis.yml

index 860f059c7d4e0f11583d3e2540922dff6a4dd1c6..bd9458422e717b428221ed2808276120a6a28c1f 100644 (file)
@@ -5,3 +5,9 @@ jdk:
   - openjdk7
 
 script: mvn clean install
+
+# cache of maven local repository to speed-up builds
+sudo:false
+cache:
+  directories:
+    - '$HOME/.m2/repository'