Commit 45d3f002 authored by Nick Pillitteri's avatar Nick Pillitteri Committed by Andy Wilkinson

Use 'travis_wait' to prevent Travis CI from aborting builds

Builds use the '-q' flag to suppress most output due to a limit of 4MB
of logs on Travis CI. However, Travis will also abort builds that
don't generate any output for 10 minutes. Thus we also use the
'travis_wait' function to make sure builds aren't aborted for up to
30 minutes.

Fixes gh-6621
Closes gh-6623
parent ae6182a9
...@@ -6,7 +6,5 @@ services: ...@@ -6,7 +6,5 @@ services:
- redis - redis
sudo: false sudo: false
install: true install: true
before_script: before_script: travis_wait 30 ./mvnw install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true
- ./mvnw install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true || true script: ./mvnw install -q -nsu -Dmaven.test.redirectTestOutputToFile=true -P '!integration'
- ./mvnw install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true \ No newline at end of file
script: ./mvnw install -q -nsu -Dmaven.test.redirectTestOutputToFile=true -P '!integration'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment