From: Simon Brandhof Date: Thu, 1 Jan 2015 15:40:17 +0000 (+0100) Subject: Speed-up Travis builds by adding cache of Maven local repo X-Git-Tag: 2.5-rc1~92 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3103675d38584080026cf592c9bfe4570778569a;p=sonar-scanner-cli.git Speed-up Travis builds by adding cache of Maven local repo --- 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'