You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2016/06/12 01:55:16 UTC
zeppelin git commit: [ZEPPELIN-890] Cache downloaded file from
'maven-download-plugin'
Repository: zeppelin
Updated Branches:
refs/heads/master 68b9b00fc -> 7015a7cc9
[ZEPPELIN-890] Cache downloaded file from 'maven-download-plugin'
### What is this PR for?
Cache downloaded file from 'maven-download-plugin' to improve CI build speed and reduce build failure due to network issue.
### What type of PR is it?
Improvement
### Todos
* [x] - Cache '.m2/repository/.cache/maven-download-plugin' directory
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-890
### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no
Author: Lee moon soo <mo...@apache.org>
Closes #996 from Leemoonsoo/download_fix and squashes the following commits:
52c0972 [Lee moon soo] trigger-ci
35aff65 [Lee moon soo] Cache ${HOME}/.m2/repository/.cache/maven-download-plugin to reduce download attempt
Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/7015a7cc
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/7015a7cc
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/7015a7cc
Branch: refs/heads/master
Commit: 7015a7cc945cf83cdd5b679e9f6374bd7c7f1736
Parents: 68b9b00
Author: Lee moon soo <mo...@apache.org>
Authored: Sat Jun 11 09:20:02 2016 -0700
Committer: Lee moon soo <mo...@apache.org>
Committed: Sat Jun 11 18:56:45 2016 -0700
----------------------------------------------------------------------
.travis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zeppelin/blob/7015a7cc/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index f7ff08b..9ba565b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,7 @@ sudo: false
cache:
directories:
- .spark-dist
+ - ${HOME}/.m2/repository/.cache/maven-download-plugin
addons:
apt:
@@ -61,7 +62,7 @@ matrix:
env: TEST_SELENIUM="true" SPARK_VER="1.6.1" HADOOP_VER="2.3" PROFILE="-Pspark-1.6 -Phadoop-2.3 -Ppyspark" BUILD_FLAG="package -DskipTests" TEST_FLAG="verify" TEST_PROJECTS="-pl zeppelin-interpreter,zeppelin-zengine,zeppelin-server,zeppelin-display,spark-dependencies,spark -Dtest=org.apache.zeppelin.AbstractFunctionalSuite -DfailIfNoTests=false"
before_install:
- - "ls -la .spark-dist"
+ - "ls -la .spark-dist ${HOME}/.m2/repository/.cache/maven-download-plugin"
- mkdir -p ~/R
- echo 'R_LIBS=~/R' > ~/.Renviron
- R -e "install.packages('knitr', repos = 'http://cran.us.r-project.org', lib='~/R')"
@@ -95,4 +96,3 @@ after_failure:
after_script:
- ./testing/stopSparkCluster.sh $SPARK_VER $HADOOP_VER
-