Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Commit

Permalink
.travis.yml config to cache Gradle/Maven repos (~/.m2 & .gradle)
Browse files Browse the repository at this point in the history
This will lead to faster PR builds, and more importantly more reliable ones, as we should have
less bad PRs due to spurious build failures due to unreachable http://repository.pentaho.org.
With Doc + cache APT too (just as an example for later NPM builds)
  • Loading branch information
vorburger committed Dec 16, 2014
1 parent 45790c3 commit 9ec0d7a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
@@ -1,3 +1,6 @@
# This (sudo: false) is needed to "run on container-based infrastructure" on which cache: is available
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
language: java
jdk:
- openjdk7
Expand All @@ -9,3 +12,9 @@ notifications:
# @see http://gradle.1045684.n5.nabble.com/Plain-console-output-td5710237.html
env:
- TERM=dumb
# http://docs.travis-ci.com/user/caching/#Arbitrary-directories
cache:
apt: true
directories:
- $HOME/.gradle
- $HOME/.m2

0 comments on commit 9ec0d7a

Please sign in to comment.