lbry-sdk/tox.ini

23 lines
892 B
INI
Raw Normal View History

2018-05-25 08:03:25 +02:00
[tox]
#envlist = unit,integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
2018-11-04 01:25:44 +01:00
envlist = py37-unit,py37-integration-torba.coin.bitcoinsegwit
2018-05-25 08:03:25 +02:00
2018-07-29 04:49:16 +02:00
[travis:env]
TESTTYPE =
unit: unit
integration: integration
2018-05-25 08:03:25 +02:00
[testenv]
deps = coverage
extras = test,server
2018-05-25 08:03:25 +02:00
changedir = {toxinidir}/tests
2018-07-29 04:49:16 +02:00
setenv =
integration: TORBA_LEDGER={envname}
2018-05-25 08:03:25 +02:00
commands =
2018-11-04 06:55:50 +01:00
unit: coverage run -p --source={envsitepackagesdir}/torba -m unittest discover -t . client_tests.unit
integration: torba download
2018-11-04 06:55:50 +01:00
integration: coverage run -p --source={envsitepackagesdir}/torba -m unittest client_tests.integration.test_transactions
integration: coverage run -p --source={envsitepackagesdir}/torba -m unittest client_tests.integration.test_reconnect
2018-09-26 03:06:22 +02:00
# Too slow on Travis
# integration: coverage run -p --source={envsitepackagesdir}/torba -m twisted.trial --reactor=asyncio integration.test_blockchain_reorganization