yiming187 closed pull request #202: Enable Travis CI cache to speed up CI checks
URL: https://github.com/apache/kylin/pull/202
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.travis.yml b/.travis.yml
index 38dc93c62c..1941c767dd 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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services