mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-05 21:24:47 +02:00
ci: Run CI_WAIT only on travis
This commit is contained in:
@ -46,6 +46,7 @@ stages:
|
|||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- CI_RETRY_EXE="travis_retry"
|
- CI_RETRY_EXE="travis_retry"
|
||||||
|
- CI_WAIT="while sleep 500; do echo .; done"
|
||||||
- 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."
|
- 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."
|
||||||
before_install:
|
before_install:
|
||||||
- set -o errexit; source ./ci/test/00_setup_env.sh
|
- set -o errexit; source ./ci/test/00_setup_env.sh
|
||||||
|
@ -32,7 +32,7 @@ fi
|
|||||||
|
|
||||||
if [ "$RUN_UNIT_TESTS" = "true" ]; then
|
if [ "$RUN_UNIT_TESTS" = "true" ]; then
|
||||||
BEGIN_FOLD unit-tests
|
BEGIN_FOLD unit-tests
|
||||||
bash -c "while sleep 500; do echo .; done" & # Print dots in case the unit tests take a long time to run
|
bash -c "${CI_WAIT}" & # Print dots in case the unit tests take a long time to run
|
||||||
DOCKER_EXEC LD_LIBRARY_PATH=$BASE_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1
|
DOCKER_EXEC LD_LIBRARY_PATH=$BASE_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1
|
||||||
END_FOLD
|
END_FOLD
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user