-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (28 loc) · 770 Bytes
/
tox.ini
File metadata and controls
31 lines (28 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tox]
envlist = py{27,34,35,36}-django{18,111},
py{35,36,37}-django{20,21,22},
py{36,37}-django{master},
lint, docs
[testenv]
deps =
coverage
pytest
pytest-cov
pytest-django
python-coveralls
django18: Django>=1.8,<1.9
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<3
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