add set -e to be sure the script is calling travis_wait