File tree Expand file tree Collapse file tree 2 files changed +13
-24
lines changed
examples/src/main/java/com/google/cloud/dataflow/examples Expand file tree Collapse file tree 2 files changed +13
-24
lines changed Original file line number Diff line number Diff line change @@ -9,29 +9,18 @@ notifications:
9
9
on_success : change
10
10
on_failure : always
11
11
12
- os :
13
- - linux
14
- - osx
15
-
16
- env :
17
- matrix :
18
- - CUSTOM_JDK="default"
19
- - CUSTOM_JDK="oraclejdk8"
20
- - CUSTOM_JDK="oraclejdk7"
21
- - CUSTOM_JDK="openjdk7"
22
-
23
12
matrix :
24
- exclude :
25
- # On OSX, run with default JDK only.
26
- - os : osx
27
- env : CUSTOM_JDK="oraclejdk8 "
28
- - os : osx
29
- env : CUSTOM_JDK="oraclejdk7"
30
- - os : osx
31
- env : CUSTOM_JDK="openjdk7"
32
- # On Linux, run with specific JDKs only.
33
- - os : linux
34
- env : CUSTOM_JDK="default "
13
+ include :
14
+ # On OSX, run with default JDK only.
15
+ - os : osx
16
+ env : MAVEN_OVERRIDE=" "
17
+ # On Linux, run with specific JDKs only.
18
+ - os : linux
19
+ env : CUSTOM_JDK="oraclejdk8" MAVEN_OVERRIDE="-DforkCount=0"
20
+ - os : linux
21
+ env : CUSTOM_JDK="oraclejdk7" MAVEN_OVERRIDE="-DforkCount=0"
22
+ - os : linux
23
+ env : CUSTOM_JDK="openjdk7" MAVEN_OVERRIDE="-DforkCount=0 "
35
24
36
25
before_install :
37
26
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
@@ -42,5 +31,5 @@ install:
42
31
43
32
script :
44
33
- travis_retry mvn versions:set -DnewVersion=manual_build
45
- - travis_retry mvn install -U
34
+ - travis_retry mvn $MAVEN_OVERRIDE install -U
46
35
- travis_retry travis/test_wordcount.sh
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ public static void main(String[] args) throws IOException {
251
251
.to (getTableReference (options ))
252
252
.withSchema (getSchema ())
253
253
.withCreateDisposition (BigQueryIO .Write .CreateDisposition .CREATE_IF_NEEDED )
254
- .withWriteDisposition (BigQueryIO .Write .WriteDisposition .WRITE_TRUNCATE ));
254
+ .withWriteDisposition (BigQueryIO .Write .WriteDisposition .WRITE_APPEND ));
255
255
256
256
PipelineResult result = pipeline .run ();
257
257
You can’t perform that action at this time.
0 commit comments