19 lines
607 B
INI
19 lines
607 B
INI
[tox]
|
|
#envlist = unit,integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
|
|
envlist = py{37,36}-unit,py37-integration-torba.coin.bitcoinsegwit
|
|
|
|
[travis:env]
|
|
TESTTYPE =
|
|
unit: unit
|
|
integration: integration
|
|
|
|
[testenv]
|
|
deps = coverage
|
|
extras = test,server
|
|
changedir = {toxinidir}/tests
|
|
setenv =
|
|
integration: TORBA_LEDGER={envname}
|
|
commands =
|
|
unit: coverage run -p --source={envsitepackagesdir}/torba -m unittest discover -t . client_tests.unit
|
|
integration: orchstr8 download
|
|
integration: coverage run -p --source={envsitepackagesdir}/torba -m unittest discover -t . client_tests.integration
|