aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-01-01 16:40:17 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-01-01 16:40:17 +0100
commit3103675d38584080026cf592c9bfe4570778569a (patch)
treedec1ffcb0df2493fc9d00f2af71cf49e65d204d1 /.travis.yml
parent3613f2ab88823842e451ac66cccd2fb08584ee7a (diff)
downloadsonar-scanner-cli-3103675d38584080026cf592c9bfe4570778569a.tar.gz
sonar-scanner-cli-3103675d38584080026cf592c9bfe4570778569a.zip
Speed-up Travis builds by adding cache of Maven local repo
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 860f059..bd94584 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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'