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/09/12 14:05:06 UTC
[kylin] 01/01: minor, update maven to 3.5.4 in travis build
This is an automated email from the ASF dual-hosted git repository.
billyliu pushed a commit to branch update_travis_maven
in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 4c1faf164f0cdf6e105bc453302fd3d22faf135e
Author: Billy Liu <bi...@apache.org>
AuthorDate: Wed Sep 12 22:04:46 2018 +0800
minor, update maven to 3.5.4 in travis build
---
.travis.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 1941c76..bd250ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,11 +25,16 @@ addons:
cache:
directories:
- - $HOME/.m2
-
+ - "$HOME/.m2/repository"
+ - "$HOME/apache-maven-3.5.4"
jdk:
- oraclejdk8
+before_install:
+ - export M2_HOME=$HOME/apache-maven-3.5.4
+ - if [ ! -d $M2_HOME/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz | tar zxf - -C $HOME; fi
+ - export PATH=$M2_HOME/bin:$PATH
+
before_script:
- echo "MAVEN_OPTS='-Xms1024m -Xmx3072m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m'" > ~/.mavenrc