Add cache for $HOME/.m2 to travis.

Signed-off-by: Owen O'Malley <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/e8c21fd3
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/e8c21fd3
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/e8c21fd3

Branch: refs/heads/branch-1.4
Commit: e8c21fd3814e8c3f2ff672f7d5bab6f0870417a4
Parents: 7cb5001
Author: Owen O'Malley <[email protected]>
Authored: Sat Jan 6 07:58:18 2018 -0800
Committer: Owen O'Malley <[email protected]>
Committed: Tue Feb 6 12:55:07 2018 -0800

----------------------------------------------------------------------
 .travis.yml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/orc/blob/e8c21fd3/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 77d48a7..73537de 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,8 +32,14 @@ matrix:
 
 jdk:
   - openjdk7
+
 env:
   - MAVEN_OPTS=-Xmx2g MAVEN_SKIP_RC=true
+
+cache:
+  directories:
+  - $HOME/.m2
+
 script:
   - mkdir build
   - cd build

Reply via email to