Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
METRON-705: Parallelize the build in travis to the extent that is obv…
Browse files Browse the repository at this point in the history
…ious closes #444
  • Loading branch information
cestella committed Feb 21, 2017
1 parent 22ea8e3 commit 80b8aee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 80b8aee

Please sign in to comment.