You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2020/03/04 04:50:10 UTC
[kylin] branch master updated: Set maven for travis
This is an automated email from the ASF dual-hosted git repository.
shaofengshi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new 45f2dd5 Set maven for travis
45f2dd5 is described below
commit 45f2dd593064fcde0b935cd58dc675c68a32fc9f
Author: nichunen <ni...@apache.org>
AuthorDate: Wed Mar 4 11:53:02 2020 +0800
Set maven for travis
---
.travis.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 0523754..d654189 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,6 +31,12 @@ jdk:
- openjdk8
before_script:
+ - echo "Downloading Maven 3.5.3"
+ && wget https://archive.apache.org/dist/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.zip
+ && unzip -qq apache-maven-3.5.3-bin.zip
+ && export M2_HOME=$PWD/apache-maven-3.5.3
+ && export PATH=$M2_HOME/bin:$PATH
+ && mvn -version
- echo "MAVEN_OPTS='-Xms1024m -Xmx3072m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m'" > ~/.mavenrc
- sed -i 's/log4j.logger.org.apache.kylin=DEBUG/log4j.logger.org.apache.kylin=WARN/g' build/conf/kylin-server-log4j.properties
- sed -i 's/log4j.logger.org.apache.kylin=DEBUG/log4j.logger.org.apache.kylin=WARN/g' build/conf/kylin-tools-log4j.properties