github.com/ggriffiths/terraform@v0.9.0-beta1.0.20170222213024-79c4935604cb/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