From ebdcc363b1e57e172c6169f7685aede6f44a7783 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Thu, 18 Nov 2021 17:44:35 +0200 Subject: [PATCH] Add a portable env for py27 in tox.ini, update python3 envs and PYTHONWARNINGS, restrict deps for reset and stats. --- tox.ini | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 5d16c48b..632c7381 100644 --- a/tox.ini +++ b/tox.ini @@ -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