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:
parent
a6c81b5a4a
commit
ebdcc363b1
10
tox.ini
10
tox.ini
|
@ -1,11 +1,11 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = reset,py{27,37,38},stats
|
envlist = reset,py{27,27-portable,36,38,39},stats
|
||||||
skip_missing_interpreters = true
|
skip_missing_interpreters = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv =
|
setenv =
|
||||||
BITMESSAGE_HOME = {envtmpdir}
|
BITMESSAGE_HOME = {envtmpdir}
|
||||||
PYTHONWARNINGS = all
|
PYTHONWARNINGS = default
|
||||||
deps = -rrequirements.txt
|
deps = -rrequirements.txt
|
||||||
commands =
|
commands =
|
||||||
python checkdeps.py
|
python checkdeps.py
|
||||||
|
@ -18,10 +18,16 @@ deps =
|
||||||
-r docs/requirements.txt
|
-r docs/requirements.txt
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
|
[testenv:py27-portable]
|
||||||
|
skip_install = true
|
||||||
|
commands = python pybitmessage/bitmessagemain.py -t
|
||||||
|
|
||||||
[testenv:reset]
|
[testenv:reset]
|
||||||
|
deps = coverage
|
||||||
commands = coverage erase
|
commands = coverage erase
|
||||||
|
|
||||||
[testenv:stats]
|
[testenv:stats]
|
||||||
|
deps = coverage
|
||||||
commands =
|
commands =
|
||||||
coverage report
|
coverage report
|
||||||
coverage xml
|
coverage xml
|
||||||
|
|
Reference in New Issue
Block a user