]> git.phdru.name Git - mimedecode.git/blobdiff - tox.ini
Merge branch 'github-actions'
[mimedecode.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index c8977d4a340c38d8fde804d175cc96f8344529b1..d428fdafcdf057f9da4e3b853581386a751fcde4 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,24 +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
+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