From 45d3f002f5bcc4f8b220e1da3ab31cf154e8c397 Mon Sep 17 00:00:00 2001 From: Nick Pillitteri Date: Thu, 11 Aug 2016 11:19:34 -0400 Subject: [PATCH] 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 --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 68e0c01fc74..28de0b272dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,5 @@ services: - redis sudo: false install: true -before_script: -- ./mvnw install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true || true -- ./mvnw install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true -script: ./mvnw install -q -nsu -Dmaven.test.redirectTestOutputToFile=true -P '!integration' +before_script: travis_wait 30 ./mvnw install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true +script: ./mvnw install -q -nsu -Dmaven.test.redirectTestOutputToFile=true -P '!integration' \ No newline at end of file