Skip to content

Commit e14bc66

Browse files
committed
auto merge of #14653 : alexcrichton/rust/travis-opt, r=cmr
The most frequent failure for our travis builds is running into the timeout limits when building the compiler itself. Building librustc takes a very long amount of time, often hitting the 10 minutes with no output threshold that travis imposes on us. This commit switches the relevant `make` step to being wrapped in the `travis_wait` command [1]. This command will print something once a minute so as to not time out a build. This will hopefully enable us to have fewer flaky builds on travis! [1]: http://docs.travis-ci.com/user/build-timeouts/
2 parents 5ec49c7 + bc17897 commit e14bc66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ script: |
4040
if [[ $LLVM_VERSION != '3.4' ]]; then exit 0; fi
4141
fi &&
4242
make tidy &&
43-
make -j4 rustc-stage1 &&
43+
travis_wait make -j4 rustc-stage1 &&
4444
make check-stage1-std check-stage1-rpass check-stage1-cfail check-stage1-rfail check-stage1-doc
4545
4646
env:

0 commit comments

Comments
 (0)