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-07-29 05:43:17 +02:00
|
|
|
envlist = py{37,36}-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
|
2018-10-15 06:50:45 +02:00
|
|
|
../orchstr8
|
2018-10-15 06:56:57 +02:00
|
|
|
../electrumx
|
2018-06-14 02:57:57 +02:00
|
|
|
extras = test
|
2018-05-25 08:03:25 +02:00
|
|
|
changedir = {toxinidir}/tests
|
2018-07-29 04:49:16 +02:00
|
|
|
setenv =
|
|
|
|
integration: LEDGER={envname}
|
2018-05-25 08:03:25 +02:00
|
|
|
commands =
|
2018-10-15 06:45:21 +02:00
|
|
|
unit: coverage run -p --source={envsitepackagesdir}/torba -m unittest discover -t . unit
|
2018-07-05 02:43:25 +02:00
|
|
|
integration: orchstr8 download
|
2018-10-15 06:45:21 +02:00
|
|
|
integration: coverage run -p --source={envsitepackagesdir}/torba -m unittest integration.test_transactions
|
2018-10-17 19:32:57 +02:00
|
|
|
integration: coverage run -p --source={envsitepackagesdir}/torba -m unittest 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
|