about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-04 12:00:42 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-04 17:16:37 -0700
commitbc1789711666f4d29b04ae6aa7da3670e2ddf83e (patch)
treec4552d727df088d1db823f4d215e1e8b561f6a5c
parenta6401b52263336c22879d4ffae3eded97949ee7b (diff)
downloadrust-bc1789711666f4d29b04ae6aa7da3670e2ddf83e.tar.gz
rust-bc1789711666f4d29b04ae6aa7da3670e2ddf83e.zip
travis: Prevent timeouts with travis_wait
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/
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 165c070633a..76e3af05d55 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,7 +40,7 @@ script: |
     if [[ $LLVM_VERSION != '3.4' ]]; then exit 0; fi
   fi &&
   make tidy &&
-  make -j4 rustc-stage1 &&
+  travis_wait make -j4 rustc-stage1 &&
   make check-stage1-std check-stage1-rpass check-stage1-cfail check-stage1-rfail check-stage1-doc
 
 env: