github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/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