mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Merge #16243: doc: Remove travis badge from readme
e91f0a7af2 doc: Remove travis badge from readme (MarcoFalke) Pull request description: The readme(s) are shipped in the released source-code archive, in which case the travis badge is useless since it doesn't link to the travis result of the correct commit/tag/branch. GitHub embeds the correct links for each tag or commit that ci ran on, so we don't need this link in the readme. ACKs for commit e91f0a: hebasto: ACK e91f0a7af2aec7d924f00da25c69d8f46e0dd33d Tree-SHA512: 860435a58b38a9bd0bc62a1e74b3a63c138c9a2f09008a090d5ecc7fd86fa908d2e5eda41d16606507a238d9488fa5323405364a9556b670684a2e4838aead2d
This commit is contained in:
parent
b41e46416f
commit
b9d4dbb12f
@ -13,8 +13,7 @@ dash-tx.
|
|||||||
- [lint](/test/lint/) which perform various static analysis checks.
|
- [lint](/test/lint/) which perform various static analysis checks.
|
||||||
|
|
||||||
The util tests are run as part of `make check` target. The functional
|
The util tests are run as part of `make check` target. The functional
|
||||||
tests and lint scripts are run by the travis continuous build process whenever a pull
|
tests and lint scripts can be run as explained in the sections below.
|
||||||
request is opened. All sets of tests can also be run locally.
|
|
||||||
|
|
||||||
# Running tests locally
|
# Running tests locally
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ TEST_EXIT_PASSED = 0
|
|||||||
TEST_EXIT_SKIPPED = 77
|
TEST_EXIT_SKIPPED = 77
|
||||||
|
|
||||||
BASE_SCRIPTS = [
|
BASE_SCRIPTS = [
|
||||||
# Scripts that are run by the travis build process.
|
# Scripts that are run by default.
|
||||||
# Longest test should go first, to favor running tests in parallel
|
# Longest test should go first, to favor running tests in parallel
|
||||||
'feature_dip3_deterministicmns.py', # NOTE: needs dash_hash to pass
|
'feature_dip3_deterministicmns.py', # NOTE: needs dash_hash to pass
|
||||||
'feature_block_reward_reallocation.py',
|
'feature_block_reward_reallocation.py',
|
||||||
@ -226,7 +226,7 @@ BASE_SCRIPTS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
EXTENDED_SCRIPTS = [
|
EXTENDED_SCRIPTS = [
|
||||||
# These tests are not run by the travis build process.
|
# These tests are not run by default.
|
||||||
# Longest test should go first, to favor running tests in parallel
|
# Longest test should go first, to favor running tests in parallel
|
||||||
'feature_pruning.py', # NOTE: Prune mode is incompatible with -txindex, should work with governance validation disabled though.
|
'feature_pruning.py', # NOTE: Prune mode is incompatible with -txindex, should work with governance validation disabled though.
|
||||||
'feature_dbcrash.py',
|
'feature_dbcrash.py',
|
||||||
@ -538,7 +538,8 @@ class TestHandler:
|
|||||||
for job in self.jobs:
|
for job in self.jobs:
|
||||||
(name, start_time, proc, testdir, log_out, log_err) = job
|
(name, start_time, proc, testdir, log_out, log_err) = job
|
||||||
if int(time.time() - start_time) > self.timeout_duration:
|
if int(time.time() - start_time) > self.timeout_duration:
|
||||||
# In travis, timeout individual tests (to stop tests hanging and not providing useful output).
|
# Timeout individual tests if timeout is specified (to stop
|
||||||
|
# tests hanging and not providing useful output).
|
||||||
proc.send_signal(signal.SIGINT)
|
proc.send_signal(signal.SIGINT)
|
||||||
if proc.poll() is not None:
|
if proc.poll() is not None:
|
||||||
log_out.seek(0), log_err.seek(0)
|
log_out.seek(0), log_err.seek(0)
|
||||||
@ -626,7 +627,7 @@ def check_script_list(*, src_dir, fail_on_warn):
|
|||||||
if len(missed_tests) != 0:
|
if len(missed_tests) != 0:
|
||||||
print("%sWARNING!%s The following scripts are not being run: %s. Check the test lists in test_runner.py." % (BOLD[1], BOLD[0], str(missed_tests)))
|
print("%sWARNING!%s The following scripts are not being run: %s. Check the test lists in test_runner.py." % (BOLD[1], BOLD[0], str(missed_tests)))
|
||||||
if fail_on_warn:
|
if fail_on_warn:
|
||||||
# On travis this warning is an error to prevent merging incomplete commits into master
|
# On CI this warning is an error to prevent merging incomplete commits into master
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user