Skip to content

Commit fa56bcb

Browse files
author
MarcoFalke
committed
ci: Run CI_WAIT only on travis
1 parent 94a26b1 commit fa56bcb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ stages:
4646
env:
4747
global:
4848
- CI_RETRY_EXE="travis_retry"
49+
- CI_WAIT="while sleep 500; do echo .; done"
4950
- CACHE_ERR_MSG="Error! Initial build successful, but not enough time remains to run later build stages and tests. Please manually re-run this job by using the travis restart button or asking a bitcoin maintainer to restart. The next run should not time out because the build cache has been saved."
5051
before_install:
5152
- set -o errexit; source ./ci/test/00_setup_env.sh

ci/test/06_script_b.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fi
3232

3333
if [ "$RUN_UNIT_TESTS" = "true" ]; then
3434
BEGIN_FOLD unit-tests
35-
bash -c "while sleep 500; do echo .; done" & # Print dots in case the unit tests take a long time to run
35+
bash -c "${CI_WAIT}" & # Print dots in case the unit tests take a long time to run
3636
DOCKER_EXEC LD_LIBRARY_PATH=$BASE_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1
3737
END_FOLD
3838
fi

0 commit comments

Comments
 (0)