github.com/nevins-b/terraform@v0.3.8-0.20170215184714-bbae22007d5a/scripts/travis.sh (about) 1 #!/bin/bash 2 3 4 # Consistent output so travis does not think we're dead during long running 5 # tests. 6 export PING_SLEEP=30 7 bash -c "while true; do echo \$(date) - building ...; sleep $PING_SLEEP; done" & 8 PING_LOOP_PID=$! 9 10 make testacc 11 TEST_OUTPUT=$? 12 13 kill $PING_LOOP_PID 14 exit $TEST_OUTPUT