41 lines
683 B
INI
41 lines
683 B
INI
[tox]
|
|
envlist = reset,py{27,37,38},stats
|
|
skip_missing_interpreters = true
|
|
|
|
[testenv]
|
|
setenv =
|
|
BITMESSAGE_HOME = {envtmpdir}
|
|
PYTHONWARNINGS = all
|
|
deps = -rrequirements.txt
|
|
commands =
|
|
python checkdeps.py
|
|
coverage run -a src/bitmessagemain.py -t
|
|
coverage run -a -m tests
|
|
|
|
[testenv:py27-doc]
|
|
deps =
|
|
.[docs]
|
|
-r docs/requirements.txt
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:reset]
|
|
commands = coverage erase
|
|
|
|
[testenv:stats]
|
|
commands =
|
|
coverage report
|
|
coverage xml
|
|
|
|
[coverage:run]
|
|
source = src
|
|
omit =
|
|
*/lib*
|
|
tests.py
|
|
*/tests/*
|
|
src/version.py
|
|
*/__init__.py
|
|
src/fallback/umsgpack/*
|
|
|
|
[coverage:report]
|
|
ignore_errors = true
|