2018-05-25 02:03:25 -04:00
|
|
|
[tox]
|
2018-07-04 20:43:25 -04:00
|
|
|
#envlist = unit,integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
|
2018-07-21 16:12:25 -04:00
|
|
|
envlist = py37-unit,py37-integration-torba.coin.bitcoinsegwit
|
2018-05-25 02:03:25 -04:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
coverage
|
2018-07-04 20:43:25 -04:00
|
|
|
integration: ../orchstr8
|
|
|
|
integration: ../electrumx
|
2018-06-13 20:57:57 -04:00
|
|
|
extras = test
|
2018-05-25 02:03:25 -04:00
|
|
|
changedir = {toxinidir}/tests
|
2018-07-04 20:43:25 -04:00
|
|
|
setenv = integration: LEDGER={envname}
|
2018-05-25 02:03:25 -04:00
|
|
|
commands =
|
2018-07-04 20:43:25 -04:00
|
|
|
unit: coverage run -p --source={envsitepackagesdir}/torba -m twisted.trial unit
|
|
|
|
integration: orchstr8 download
|
|
|
|
integration: coverage run -p --source={envsitepackagesdir}/torba -m twisted.trial --reactor=asyncio integration
|