2018-05-25 08:03:25 +02:00
|
|
|
[tox]
|
2018-06-14 03:44:36 +02:00
|
|
|
#envlist = py{27,36}-unit,py36-integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
|
|
|
|
envlist = py36-unit,py36-integration-torba.coin.bitcoinsegwit
|
2018-05-25 08:03:25 +02:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
coverage
|
2018-06-14 03:37:02 +02:00
|
|
|
py36-integration: ../orchstr8
|
|
|
|
py36-integration: ../electrumx
|
2018-06-14 02:57:57 +02:00
|
|
|
extras = test
|
2018-05-25 08:03:25 +02:00
|
|
|
changedir = {toxinidir}/tests
|
2018-06-14 03:37:02 +02:00
|
|
|
setenv = py36-integration: LEDGER={envname}
|
2018-05-25 08:03:25 +02:00
|
|
|
commands =
|
2018-06-14 03:37:02 +02:00
|
|
|
py{27,36}-unit: coverage run -p --source={envsitepackagesdir}/torba -m twisted.trial unit
|
2018-06-14 05:47:13 +02:00
|
|
|
py36-integration: orchstr8 download
|
2018-06-14 03:37:02 +02:00
|
|
|
py36-integration: coverage run -p --source={envsitepackagesdir}/torba -m twisted.trial --reactor=asyncio integration
|