github.com/jdextraze/terraform@v0.6.17-0.20160511153921-e33847c8a8af/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