]> git.phdru.name Git - m_librarian.git/blobdiff - tox.ini
CI(GHActions): Run selected environments
[m_librarian.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 230ab1b9e9b91ef1a7530c98aa818c78fa4bc428..eb7797c3076c6b82378025b01735ce4ca4e34023 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -16,9 +16,13 @@ commands =
     {envpython} --version
     {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
 deps =
+    pip < 19.2
+    setuptools < 44
     -rdevscripts/requirements/requirements_tests.txt
-passenv = CI TRAVIS TRAVIS_* APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR
-platform = linux
+passenv = CI APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR
+setenv =
+    VIRTUALENV_PIP = 19.1.1
+platform = linux|darwin
 
 [testenv:{py27,py34,py35,py36,py37,py38,py39}-sqlite]
 commands =
@@ -41,3 +45,12 @@ deps =
 commands =
     {[testenv]commands}
     flake8
+
+[gh-actions]
+python =
+    2.7: py27
+    3.5: py35
+    3.6: py36
+    3.7: py37
+    3.8: py38
+    3.9: py39