2013-09-29 00:39:50 +02:00
|
|
|
[tox]
|
2018-09-17 00:23:54 +02:00
|
|
|
envlist = py{35,36,37}
|
2015-12-15 11:23:56 +01:00
|
|
|
skip_missing_interpreters = True
|
2013-09-29 00:39:50 +02:00
|
|
|
|
2018-09-16 22:58:02 +02:00
|
|
|
[travis]
|
|
|
|
|
python =
|
|
|
|
|
3.7: py37
|
|
|
|
|
3.6: py36
|
|
|
|
|
3.5: py35
|
|
|
|
|
|
2013-09-29 00:39:50 +02:00
|
|
|
[testenv]
|
|
|
|
|
deps =
|
2018-09-16 22:58:02 +02:00
|
|
|
-r {toxinidir}/requirements.txt
|
2013-09-29 00:39:50 +02:00
|
|
|
pytest
|
2015-04-22 23:25:48 +02:00
|
|
|
pytest-cov
|
2018-09-16 22:58:02 +02:00
|
|
|
commands = pytest --cov sigal --cov-report term-missing tests/
|
2014-04-08 00:13:51 +02:00
|
|
|
|
2015-04-22 23:25:48 +02:00
|
|
|
[testenv:check]
|
2014-04-08 00:13:51 +02:00
|
|
|
deps =
|
2015-04-22 23:25:48 +02:00
|
|
|
docutils
|
|
|
|
|
check-manifest
|
|
|
|
|
flake8
|
|
|
|
|
collective.checkdocs
|
|
|
|
|
pygments
|
|
|
|
|
usedevelop = true
|
|
|
|
|
commands =
|
|
|
|
|
python setup.py checkdocs
|
|
|
|
|
python setup.py check --strict --metadata
|
|
|
|
|
check-manifest {toxinidir}
|
2018-09-17 00:23:54 +02:00
|
|
|
|
|
|
|
|
[testenv:doc]
|
|
|
|
|
whitelist_externals = make
|
|
|
|
|
deps =
|
|
|
|
|
-r {toxinidir}/requirements-doc.txt
|
|
|
|
|
usedevelop = true
|
|
|
|
|
commands =
|
|
|
|
|
make -C docs html
|