From 45a3b5c5425723878a83282246742229feb0d5ff Mon Sep 17 00:00:00 2001 From: James Nugent Date: Tue, 22 Dec 2015 11:24:46 -0500 Subject: [PATCH] Add script for running tests in Travis --- scripts/travis.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/travis.sh diff --git a/scripts/travis.sh b/scripts/travis.sh new file mode 100755 index 000000000..90e5cb9ff --- /dev/null +++ b/scripts/travis.sh @@ -0,0 +1,14 @@ +#!/bin/bash + + +# Consistent output so travis does not think we're dead during long running +# tests. +export PING_SLEEP=30 +bash -c "while true; do echo \$(date) - building ...; sleep $PING_SLEEP; done" & +PING_LOOP_PID=$! + +make testacc +TEST_OUTPUT=$? + +kill $PING_LOOP_PID +exit $TEST_OUTPUT