Add a portable env for py27 in tox.ini,

update python3 envs and PYTHONWARNINGS, restrict deps for reset and stats.
This commit is contained in:
Dmitri Bogomolov 2021-11-18 17:44:35 +02:00
parent a6c81b5a4a
commit ebdcc363b1
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

10
tox.ini
View File

@ -1,11 +1,11 @@
[tox]
envlist = reset,py{27,37,38},stats
envlist = reset,py{27,27-portable,36,38,39},stats
skip_missing_interpreters = true
[testenv]
setenv =
BITMESSAGE_HOME = {envtmpdir}
PYTHONWARNINGS = all
PYTHONWARNINGS = default
deps = -rrequirements.txt
commands =
python checkdeps.py
@ -18,10 +18,16 @@ deps =
-r docs/requirements.txt
commands = python setup.py build_sphinx
[testenv:py27-portable]
skip_install = true
commands = python pybitmessage/bitmessagemain.py -t
[testenv:reset]
deps = coverage
commands = coverage erase
[testenv:stats]
deps = coverage
commands =
coverage report
coverage xml