You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dh...@apache.org on 2016/10/26 21:44:28 UTC
[1/2] incubator-beam git commit: Streamline Travis CI build
Repository: incubator-beam
Updated Branches:
refs/heads/master f9e07cfb2 -> 09a80ecb4
Streamline Travis CI build
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/5c558e6f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/5c558e6f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/5c558e6f
Branch: refs/heads/master
Commit: 5c558e6f6b0fe63324de7400121f33a91418fc02
Parents: f9e07cf
Author: Kenneth Knowles <kl...@google.com>
Authored: Wed Oct 26 10:37:09 2016 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Wed Oct 26 14:44:21 2016 -0700
----------------------------------------------------------------------
.travis.yml | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/5c558e6f/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 5b271d1..6a8b604 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,20 +28,25 @@ notifications:
on_success: change
on_failure: always
+env:
+ global:
+ - MAVEN_OVERRIDE="--settings=.travis/settings.xml -Djavadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true"
+ - MAVEN_CONTAINER_OVERRIDE="-DbeamSurefireArgline='-Xmx512m'"
+
matrix:
include:
# On OSX, run with default JDK only.
- os: osx
- env: MAVEN_OVERRIDE="--settings=.travis/settings.xml"
+
# On Linux, run with specific JDKs only.
- os: linux
- env: CUSTOM_JDK="oraclejdk8" MAVEN_OVERRIDE="--settings=.travis/settings.xml -DbeamSurefireArgline='-Xmx512m'"
+ env: CUSTOM_JDK="oraclejdk8" MAVEN_OVERRIDE="$MAVEN_OVERRIDE $MAVEN_CONTAINER_OVERRIDE"
- os: linux
- env: CUSTOM_JDK="oraclejdk7" MAVEN_OVERRIDE="--settings=.travis/settings.xml -DbeamSurefireArgline='-Xmx512m'"
+ env: CUSTOM_JDK="oraclejdk7" MAVEN_OVERRIDE="$MAVEN_OVERRIDE $MAVEN_CONTAINER_OVERRIDE"
- os: linux
- env: CUSTOM_JDK="oraclejdk7" MAVEN_OVERRIDE="--settings=.travis/settings.xml -DbeamSurefireArgline='-Xmx512m' -Peclipse-jdt"
+ env: CUSTOM_JDK="oraclejdk7" MAVEN_OVERRIDE="$MAVEN_OVERRIDE $MAVEN_CONTAINER_OVERRIDE -Peclipse-jdt"
- os: linux
- env: CUSTOM_JDK="openjdk7" MAVEN_OVERRIDE="--settings=.travis/settings.xml -DbeamSurefireArgline='-Xmx512m'"
+ env: CUSTOM_JDK="openjdk7" MAVEN_OVERRIDE="$MAVEN_OVERRIDE $MAVEN_CONTAINER_OVERRIDE"
before_install:
- echo 'MAVEN_OPTS="$MAVEN_OPTS -Xmx1024m -XX:MaxPermSize=512m -XX:+BytecodeVerificationLocal"' >> ~/.mavenrc
@@ -56,8 +61,7 @@ install:
- rm -rf "$HOME/.m2/repository/org/apache/beam"
script:
- - travis_retry mvn --batch-mode --update-snapshots --no-snapshot-updates $MAVEN_OVERRIDE verify
- - travis_retry .travis/test_wordcount.sh
+ - travis_retry mvn --batch-mode --update-snapshots --no-snapshot-updates $MAVEN_OVERRIDE install && travis_retry bash -ex .travis/test_wordcount.sh
cache:
directories:
[2/2] incubator-beam git commit: Closes #1181
Posted by dh...@apache.org.
Closes #1181
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/09a80ecb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/09a80ecb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/09a80ecb
Branch: refs/heads/master
Commit: 09a80ecb4a464f63b6f65fbdba7783920280efb3
Parents: f9e07cf 5c558e6
Author: Dan Halperin <dh...@google.com>
Authored: Wed Oct 26 14:44:22 2016 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Wed Oct 26 14:44:22 2016 -0700
----------------------------------------------------------------------
.travis.yml | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------