This is an automated email from the ASF dual-hosted git repository.
ethanli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git
The following commit(s) were added to refs/heads/master by this push:
new 1a3025f [STORM-3563] Fix broken link for apache-maven download and
cache maven directory
new 7e671f0 Merge pull request #3188 from Ethanlm/STORM-3563
1a3025f is described below
commit 1a3025fac804f44f53878ec2656f019a084fc6ad
Author: Ethan Li <[email protected]>
AuthorDate: Fri Jan 3 01:02:49 2020 -0600
[STORM-3563] Fix broken link for apache-maven download and cache maven
directory
---
.travis.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index d35d5e3..1dcdc0e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,9 +43,9 @@ before_install:
- sudo add-apt-repository ppa:deadsnakes/ppa -y
- sudo apt-get update
- sudo apt-get install python3.6
- - wget
http://mirrors.rackhosting.com/apache/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz
-P $HOME
- - tar xzvf $HOME/apache-maven-3.6.1-bin.tar.gz -C $HOME
- - export PATH=$HOME/apache-maven-3.6.1/bin:$PATH
+ - export MVN_HOME=$HOME/apache-maven-3.6.1
+ - if [ ! -d $MVN_HOME/bin ]; then wget
https://archive.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz
-P $HOME; tar xzvf $HOME/apache-maven-3.6.1-bin.tar.gz -C $HOME; fi
+ - export PATH=$MVN_HOME/bin:$PATH
install: /bin/bash ./dev-tools/travis/travis-install.sh `pwd`
script:
- /bin/bash ./dev-tools/travis/travis-script.sh `pwd` $MODULES
@@ -54,3 +54,4 @@ cache:
- "$HOME/.m2/repository"
- "$HOME/.rvm"
- "$NVM_DIR"
+ - "$HOME/apache-maven-3.6.1"