2018-05-25 08:03:25 +02:00
|
|
|
[tox]
|
2018-07-05 02:43:25 +02:00
|
|
|
#envlist = unit,integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
|
2018-11-29 22:39:59 +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]
|
2018-11-03 23:50:34 +01:00
|
|
|
deps = coverage
|
2018-05-25 08:03:25 +02:00
|
|
|
changedir = {toxinidir}/tests
|
2018-07-29 04:49:16 +02:00
|
|
|
setenv =
|
2018-11-03 23:50:34 +01:00
|
|
|
integration: TORBA_LEDGER={envname}
|
2018-05-25 08:03:25 +02:00
|
|
|
commands =
|
2019-09-13 20:03:09 +02:00
|
|
|
unit: coverage run -p --source={envsitepackagesdir}/torba -m unittest discover -vv -t . client_tests.unit
|
2018-11-04 07:09:16 +01:00
|
|
|
integration: orchstr8 download
|
2019-09-13 20:03:09 +02:00
|
|
|
integration: coverage run -p --source={envsitepackagesdir}/torba -m unittest discover -vv -t . client_tests.integration
|