summaryrefslogtreecommitdiff
path: root/bors.toml
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2017-04-18 22:29:38 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2017-04-18 22:29:38 +0000
commitd810c104ba9bb95ed92418225844a2933f0d4b6e (patch)
treebc30deb75ffd46b57b1d88be7802accc4cad940e /bors.toml
parent7b5dd7867e9fd30513432f852a27bff72a8478f5 (diff)
parent935bbddd44c9356b1d6df867f627f127aea826be (diff)
downloadnix-d810c104ba9bb95ed92418225844a2933f0d4b6e.zip
Merge #589
589: Raise the bors timeout to four hours r=Susurrus The timeout is, by default, one hour. `nix` builds take about that long, sometimes longer, sometimes shorter, making builds flaky.
Diffstat (limited to 'bors.toml')
-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