From c131820dc11386a7422633040f678bbdd9080ef2 Mon Sep 17 00:00:00 2001 From: Fanon Jupkwo Date: Mon, 23 Dec 2019 21:03:04 +0100 Subject: [PATCH] Adding travis_wait to mvn install Why ? Building such big APIs as facebook-java-business-sdk can take a lot of time. It's possible to get a time out. Here (https://github.com/4hwc/4HWCAutonomousCar/commit/96c6396d444f0364150241c5bed3e0b9fc7ba5c8), I got a time out due to generating javadoc. Then, I decided to add travis_wait and it works pretty well. Official docs : https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index de4e59f0..2fdaafeb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,5 +7,5 @@ dist: trusty branches: only: - master - -install: mvn package +#travis_wait : avoid time out +install: travis_wait mvn package