opentofu/scripts/travis.sh

15 lines
286 B
Bash
Raw Normal View History

2015-12-22 10:24:46 -06:00
#!/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