From 96514d8fe349f6344093902b215f0e9ac642939a Mon Sep 17 00:00:00 2001 From: Xiaolu Dai <31124698+saragluna@users.noreply.github.com> Date: Sat, 27 Jul 2019 11:13:32 +0800 Subject: [PATCH] use another way to implement travis_wait (#401) --- .travis.yml | 2 +- src/libs/travis-wait-mvn-build.sh | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/libs/travis-wait-mvn-build.sh diff --git a/.travis.yml b/.travis.yml index d5f21ac..b0cdebc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ jobs: - sudo apt-get install azure-cli # - az --help # - chmod +x install.sh && ./install.sh - - travis_wait 30 set -o pipefail && mvn -P travis-ci-test clean cobertura:cobertura-integration-test | grep -v "DEBUG" + - chmod +x ./src/libs/travis-wait-mvn-build.sh && ./src/libs/travis-wait-mvn-build.sh - bash <(curl -s https://codecov.io/bash) - stage: performance-test script: diff --git a/src/libs/travis-wait-mvn-build.sh b/src/libs/travis-wait-mvn-build.sh new file mode 100644 index 0000000..72e4e34 --- /dev/null +++ b/src/libs/travis-wait-mvn-build.sh @@ -0,0 +1,9 @@ +function write_visual_bells() { + while true; do + echo -en "\a" + sleep 10 + done +} +write_visual_bells& + +set -o pipefail && mvn -P travis-ci-test clean cobertura:cobertura-integration-test | grep -v "DEBUG" \ No newline at end of file