]> git.phdru.name Git - mimedecode.git/blobdiff - tox.ini
CI: Github Actions
[mimedecode.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 49dffc9f794d58356c9e5ed7594487d6c36127b5..ced00e3d6f814bfa18e492e0bb92339f4b1bd319 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,20 +1,20 @@
-# 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 =
@@ -22,3 +22,14 @@ commands =
     {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
     ./test_all
 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