You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2018/08/17 09:56:47 UTC

[kylin] branch master updated: Enable Travis CI cache to speed up CI checks

This is an automated email from the ASF dual-hosted git repository.

billyliu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new b4f2155  Enable Travis CI cache to speed up CI checks
b4f2155 is described below

commit b4f21550a773965eb93c639d1c5437661cb5b36f
Author: Ian Hu <hu...@163.com>
AuthorDate: Fri Aug 17 16:52:52 2018 +0800

    Enable Travis CI cache to speed up CI checks
    
    While there are a lot of dependencies need to be downloaded from maven central enable Travis CI cache maven dependencies helps speed up the CI process.
    See http://docs.travis-ci.com/user/caching/
---
 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 38dc93c..1941c76 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,6 +23,10 @@ addons:
     token:
       secure: "c918989d018ae3af899798716c35f4fe125296a4"
 
+cache:
+  directories:
+    - $HOME/.m2
+
 jdk:
   - oraclejdk8
 
@@ -45,4 +49,8 @@ notification:
 
 after_success:
   - bash <(curl -s https://codecov.io/bash)
+  
+before_cache:
+  # Remove project's local artifacts to force maven reactor resolve
+  - rm -rf $HOME/.m2/repository/org/apache/kylin