You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by ce...@apache.org on 2017/02/21 14:13:08 UTC
incubator-metron git commit: METRON-705: Parallelize the build in
travis to the extent that is obvious closes apache/incubator-metron#444
Repository: incubator-metron
Updated Branches:
refs/heads/master 22ea8e320 -> 80b8aee6a
METRON-705: Parallelize the build in travis to the extent that is obvious closes apache/incubator-metron#444
Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/80b8aee6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/80b8aee6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/80b8aee6
Branch: refs/heads/master
Commit: 80b8aee6a47047ea84f99037977ec7a4717d15aa
Parents: 22ea8e3
Author: cstella <ce...@gmail.com>
Authored: Tue Feb 21 09:13:00 2017 -0500
Committer: cstella <ce...@gmail.com>
Committed: Tue Feb 21 09:13:00 2017 -0500
----------------------------------------------------------------------
.travis.yml | 7 ++++++-
README.md | 2 +-
pom.xml | 2 ++
3 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/80b8aee6/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 4f1c5e0..9e9f536 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,9 +2,14 @@ install: true
language: java
jdk:
- oraclejdk8
+before_install:
+ - wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip
+ - unzip -qq apache-maven-3.3.9-bin.zip
+ - export M2_HOME=$PWD/apache-maven-3.3.9
+ - export PATH=$M2_HOME/bin:$PATH
script:
- |
- mvn -q integration-test install && build_utils/verify_licenses.sh
+ time mvn -q -T 2C -DskipTests install && time mvn -q -T 2C surefire:test@unit-tests && mvn -q surefire:test@integration-tests && time build_utils/verify_licenses.sh
cache:
directories:
- $HOME/.m2
http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/80b8aee6/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 419e9dd..52c6bd3 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
[![Build Status](https://travis-ci.org/apache/incubator-metron.svg?branch=master)](https://travis-ci.org/apache/incubator-metron)
-
+
# Apache Metron (Incubating)
Metron integrates a variety of open source big data technologies in order
http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/80b8aee6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c57ce87..04c3954 100644
--- a/pom.xml
+++ b/pom.xml
@@ -237,6 +237,8 @@
<configuration>
<excludes>
<exclude>dependencies_with_url.csv</exclude>
+ <!-- In travis we need to pull down maven 3.3.9, so we should exclude it here as it is not our code. -->
+ <exclude>apache-maven-3.3.9/**</exclude>
<exclude>**/*.md</exclude>
<exclude>**/VERSION</exclude>
<exclude>**/*.json</exclude>