Repository: zeppelin Updated Branches: refs/heads/master a84818c6f -> e8cea41c6
Fix Travis build error with ls command ### What is this PR for? Fix error with ``` $ ls -la .spark-dist ${HOME}/.m2/repository/.cache/maven-download-plugin ls: cannot access /home/travis/.m2/repository/.cache/maven-download-plugin: No such file or directory .spark-dist: total 4 drwxr-xr-x 2 travis travis 6 Nov 25 19:27 . drwxr-xr-x 47 travis travis 4096 Nov 25 19:27 .. The command "ls -la .spark-dist ${HOME}/.m2/repository/.cache/maven-download-plugin" failed and exited with 2 during . Your build has been stopped. ``` https://travis-ci.org/apache/zeppelin/jobs/178918031 ### What type of PR is it? Bug Fix ### How should this be tested? CI ### Questions: * Does the licenses files need update? None * Is there breaking changes for older versions? None * Does this needs documentation? None Author: Felix Cheung <felixcheun...@hotmail.com> Closes #1683 from felixcheung/fixls and squashes the following commits: e399ce0 [Felix Cheung] this passes http://lint.travis-ci.org/ 0548861 [Felix Cheung] fix exit code Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/e8cea41c Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/e8cea41c Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/e8cea41c Branch: refs/heads/master Commit: e8cea41c61327b22f6cac59fcd51460c091a0bb2 Parents: a84818c Author: Felix Cheung <felixcheun...@hotmail.com> Authored: Fri Nov 25 12:56:55 2016 -0800 Committer: Felix Cheung <felixche...@apache.org> Committed: Sat Nov 26 11:27:36 2016 -0800 ---------------------------------------------------------------------- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/e8cea41c/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index cc69ec1..6462e17 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,7 +68,7 @@ matrix: before_install: - echo "MAVEN_OPTS='-Xms1024M -Xmx2048M -XX:MaxPermSize=1024m -XX:-UseGCOverheadLimit'" >> ~/.mavenrc - - "ls -la .spark-dist ${HOME}/.m2/repository/.cache/maven-download-plugin" + - ls -la .spark-dist ${HOME}/.m2/repository/.cache/maven-download-plugin || true - ls .node_modules && cp -r .node_modules zeppelin-web/node_modules || echo "node_modules are not cached" - mkdir -p ~/R - echo 'R_LIBS=~/R' > ~/.Renviron