Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Disable Maven forking in Travis-CI to fix build issues #110

Merged
merged 2 commits into from
Feb 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 12 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,18 @@ notifications:
on_success: change
on_failure: always

os:
- linux
- osx

env:
matrix:
- CUSTOM_JDK="default"
- CUSTOM_JDK="oraclejdk8"
- CUSTOM_JDK="oraclejdk7"
- CUSTOM_JDK="openjdk7"

matrix:
exclude:
# On OSX, run with default JDK only.
- os: osx
env: CUSTOM_JDK="oraclejdk8"
- os: osx
env: CUSTOM_JDK="oraclejdk7"
- os: osx
env: CUSTOM_JDK="openjdk7"
# On Linux, run with specific JDKs only.
- os: linux
env: CUSTOM_JDK="default"
include:
# On OSX, run with default JDK only.
- os: osx
env: MAVEN_OVERRIDE=""
# On Linux, run with specific JDKs only.
- os: linux
env: CUSTOM_JDK="oraclejdk8" MAVEN_OVERRIDE="-DforkCount=0"
- os: linux
env: CUSTOM_JDK="oraclejdk7" MAVEN_OVERRIDE="-DforkCount=0"
- os: linux
env: CUSTOM_JDK="openjdk7" MAVEN_OVERRIDE="-DforkCount=0"

before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
Expand All @@ -42,5 +31,5 @@ install:

script:
- travis_retry mvn versions:set -DnewVersion=manual_build
- travis_retry mvn install -U
- travis_retry mvn $MAVEN_OVERRIDE install -U
- travis_retry travis/test_wordcount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public static void main(String[] args) throws IOException {
.to(getTableReference(options))
.withSchema(getSchema())
.withCreateDisposition(BigQueryIO.Write.CreateDisposition.CREATE_IF_NEEDED)
.withWriteDisposition(BigQueryIO.Write.WriteDisposition.WRITE_TRUNCATE));
.withWriteDisposition(BigQueryIO.Write.WriteDisposition.WRITE_APPEND));

PipelineResult result = pipeline.run();

Expand Down