lbry-sdk/tox.ini
Lex Berezhny f85e61d8ed
run functional tests first
run two integration tests on travis 😱
reduce integration test verbosity
2018-08-24 11:37:53 -04:00

25 lines
958 B
INI

[tox]
envlist = py27-unit,py36-integration
[testenv]
deps =
coverage
../torba
../lbryschema
unit: pylint
integration: ../electrumx
integration: ../orchstr8
integration: ../lbryumx
extras = test
changedir = {toxinidir}/tests
setenv =
HOME=/tmp
PYTHONHASHSEED=0
integration: LEDGER=lbrynet.wallet
commands =
unit: pylint lbrynet
unit: coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial functional unit
integration: orchstr8 download
integration: coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_transactions.BasicTransactionTest
integration: coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_commands.ChannelNewCommandTests
#integration: coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_commands.PublishCommandTests