28 lines
708 B
INI
28 lines
708 B
INI
[tox]
|
|
envlist = py{34,35,36}-djangomaster, py{27,34,35,36}-django{18,19,110,111}, py33-django18, lint, docs
|
|
|
|
[testenv]
|
|
deps =
|
|
coverage
|
|
pytest
|
|
pytest-cov
|
|
pytest-django
|
|
python-coveralls
|
|
django18: Django>=1.8,<1.9
|
|
django19: Django>=1.9,<1.10
|
|
django110: Django>=1.10,<1.11
|
|
django111: Django>=1.11,<1.12
|
|
djangomaster: https://github.com/django/django/archive/master.tar.gz#egg=Django
|
|
commands = py.test {posargs}
|
|
|
|
[testenv:docs]
|
|
deps = sphinx
|
|
commands =
|
|
sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/_build/html
|
|
sphinx-build -W -b linkcheck docs {envtmpdir}/_build/html
|
|
|
|
[testenv:lint]
|
|
deps =
|
|
flake8==3.3.0
|
|
commands=flake8 django_babel tests
|