Skip to content

Commit dbc3c47

Browse files
Increase travis wait time to prevent error (#11470)
* increase travis wait time to prevent error * reduce travis_wait time to 15 minutes
1 parent 3919495 commit dbc3c47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ install:
6969
# Append output to hugo.log file to print at the end of the travis job
7070
# (see https://stackoverflow.com/questions/418896/how-to-redirect-output-to-a-file-and-stdout)
7171

72-
- ./node_modules/.bin/hugo --environment $TRAVIS_BRANCH 2>&1 | tee -a $TRAVIS_BUILD_DIR/hugo.log
72+
- travis_wait 15 bash -c './node_modules/.bin/hugo --environment $TRAVIS_BRANCH 2>&1 | tee -a $TRAVIS_BUILD_DIR/hugo.log'
7373

7474
# normal htmltest takes too much memory - using a modified version which strips <aside> tag content
7575
# NB - Set pipefail so that Travis CI sees the return code from `tee` and not from `htmltest` so it will always build.

0 commit comments

Comments
 (0)