summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2017-04-17 10:04:28 -0700
committerMichael Howell <michael@notriddle.com>2017-04-18 14:03:27 -0700
commit935bbddd44c9356b1d6df867f627f127aea826be (patch)
tree033e4deb9102b494a88aadda668f60fd1885755c
parent3095f77e46a7563dbc8ce5cd2ad80846e43c2e63 (diff)
downloadnix-935bbddd44c9356b1d6df867f627f127aea826be.zip
Raise the bors timeout to four hours
bors's timeout should always be twice a long as the test suite takes. This is to allow Travis to fast-fail a test; if one of the builders immediately reports a failure, then bors will move on to the next batch, leaving the slower builders to work through the already-doomed run and the next one. At the time this was written, nix's test suite took about an hour to run. The timeout was raised to four hours, instead of two, to give nix room to grow and time for delays on Travis's end.
-rw-r--r--bors.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/bors.toml b/bors.toml
index 359f8947..678de84d 100644
--- a/bors.toml
+++ b/bors.toml
@@ -1 +1,15 @@
+# Gate on Travis CI
status = ["continuous-integration/travis-ci/push"]
+
+# Set bors's timeout to 4 hours
+#
+# bors's timeout should always be twice a long as the test suite takes.
+# This is to allow Travis to fast-fail a test; if one of the builders
+# immediately reports a failure, then bors will move on to the next batch,
+# leaving the slower builders to work through the already-doomed run and
+# the next one.
+#
+# At the time this was written, nix's test suite took about an hour to run.
+# The timeout was raised to four hours, instead of two, to give nix room
+# to grow and time for delays on Travis's end.
+timeout_sec = 14400