aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2016-11-18 02:12:07 -0500
committerGravatar Jason Gross <jgross@mit.edu>2016-11-18 02:12:37 -0500
commite24ef0e681761645fd93419b47c950adfb90e5a9 (patch)
treeb92a52dd290593ce653f28159dbbd66c25f3b073 /etc
parent53f706757c81a1a57b479c6700b518965f32e862 (diff)
Don't let travis kill us in 10 minutes of silence
Diffstat (limited to 'etc')
-rwxr-xr-xetc/ci/keep_alive.sh8
-rwxr-xr-xetc/ci/travis_keep_alive.sh6
2 files changed, 14 insertions, 0 deletions
diff --git a/etc/ci/keep_alive.sh b/etc/ci/keep_alive.sh
new file mode 100755
index 000000000..31dc32e05
--- /dev/null
+++ b/etc/ci/keep_alive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+while [ 1 ]
+do
+ echo ""
+ echo "Travis keep-alive spew"
+ sleep 5m
+done
diff --git a/etc/ci/travis_keep_alive.sh b/etc/ci/travis_keep_alive.sh
new file mode 100755
index 000000000..cc84be9d8
--- /dev/null
+++ b/etc/ci/travis_keep_alive.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+# in case we're run from out of git repo
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
+"$DIR"/keep_alive.sh & export PID_KEEP_ALIVE=$!