vici: Add tox.ini to run tests with tox

Some of the interpreters might not be available on the host system, use
--skip-missing-interpreters to not fail in that case.
This commit is contained in:
Tobias Brunner
2020-01-14 15:26:29 +01:00
parent c170bb593b
commit d5153c5897
3 changed files with 18 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
[tox]
envlist = py27, py35, py36, py37, py38
[testenv]
deps =
pytest
pytest-pycodestyle
commands = pytest --pycodestyle
[testenv:py27]
deps = pytest
commands = pytest
[pycodestyle]
max-line-length = 80
show-source = True