Try tox-travis and add Python 3.7

This commit is contained in:
Simon Conseil
2018-09-16 22:58:02 +02:00
parent b84c0c968c
commit 1a5bd4b359
3 changed files with 22 additions and 27 deletions

20
tox.ini
View File

@@ -1,23 +1,21 @@
[tox]
envlist = py{35,36},report,check
envlist = py{35,36,37},check
skip_missing_interpreters = True
[travis]
python =
3.7: py37
3.6: py36
3.5: py35
[testenv]
commands = pytest --cov sigal --cov-report term-missing
deps =
-r {toxinidir}/requirements.txt
pytest
pytest-cov
[testenv:report]
basepython = python3.6
commands =
coverage combine
coverage report
usedevelop = true
deps = coverage
commands = pytest --cov sigal --cov-report term-missing tests/
[testenv:check]
basepython = python3.6
deps =
docutils
check-manifest