30 lines
513 B
INI
30 lines
513 B
INI
[tox]
|
|
envlist = py{35,36,37},check
|
|
skip_missing_interpreters = True
|
|
|
|
[travis]
|
|
python =
|
|
3.7: py37
|
|
3.6: py36
|
|
3.5: py35
|
|
|
|
[testenv]
|
|
deps =
|
|
-r {toxinidir}/requirements.txt
|
|
pytest
|
|
pytest-cov
|
|
commands = pytest --cov sigal --cov-report term-missing tests/
|
|
|
|
[testenv:check]
|
|
deps =
|
|
docutils
|
|
check-manifest
|
|
flake8
|
|
collective.checkdocs
|
|
pygments
|
|
usedevelop = true
|
|
commands =
|
|
python setup.py checkdocs
|
|
python setup.py check --strict --metadata
|
|
check-manifest {toxinidir}
|