X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=tox.ini;h=d428fdafcdf057f9da4e3b853581386a751fcde4;hb=eaca10a6f9782430108b05194ff7b0d961d124d5;hp=aa6b3878487aab897ec42683141620e57d347f5b;hpb=6dffe39a733fb41e662d92124914398d16ed44d2;p=mimedecode.git diff --git a/tox.ini b/tox.ini index aa6b387..d428fda 100644 --- a/tox.ini +++ b/tox.ini @@ -1,26 +1,36 @@ -# Tox (http://tox.testrun.org/) is a tool for running tests -# in multiple virtualenvs. This configuration file will run the -# test suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. - [tox] -envlist = py27, py33, py34, py35, py36, pypy -skip_missing_interpreters=true -toxworkdir={homedir}/.tox/mimedecode +minversion = 2.0 +envlist = py27,py3{4,5,6,7,8,9},pypy [testenv] basepython = py27: {env:TOXPYTHON:python2.7} - py33: {env:TOXPYTHON:python3.3} py34: {env:TOXPYTHON:python3.4} py35: {env:TOXPYTHON:python3.5} py36: {env:TOXPYTHON:python3.6} + py37: {env:TOXPYTHON:python3.7} + py38: {env:TOXPYTHON:python3.8} + py39: {env:TOXPYTHON:python3.9} pypy: {env:TOXPYTHON:pypy} deps = + pip < 19.2 + setuptools < 44 -rdevscripts/requirements/requirements_tests.txt changedir = test commands = {envpython} --version {envpython} -c "import struct; print(struct.calcsize('P') * 8)" ./test_all -#whitelist_externals = +passenv = HOME +setenv = + VIRTUALENV_PIP = 19.1.1 + +[gh-actions] +python = + 2.7: py27 + 3.5: py35 + 3.6: py36 + 3.7: py37 + 3.8: py38 + 3.9: py39 + pypy-2.7: pypy