forked from django/django-localflavor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (42 loc) · 1.08 KB
/
tox.ini
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[tox]
args_are_paths = false
envlist =
docs,prospector,isort
{py27,py32,py33,py34}-1.8,
{py27,py34,py35}-{1.9,1.10}
{py27,py34,py35,py36}-1.11
{py34,py35,py36}-master
[testenv]
basepython =
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
py35: python3.5
py36: python3.6
usedevelop = true
pip_pre = true
commands =
invoke test {posargs}
deps =
1.8: Django>=1.8,<1.9
1.9: Django>=1.9,<1.10
1.10: Django>=1.10,<1.11
1.11: Django==1.11b1
master: https://github.com/django/django/archive/master.tar.gz
-r{toxinidir}/tests/requirements.txt
[testenv:docs]
deps =
Sphinx>=1.3
-r{toxinidir}/docs/requirements.txt
basepython = python2.7
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
[testenv:prospector]
deps = prospector
basepython = python2.7
commands = prospector --profile localflavor.prospector.yaml {toxinidir}
[testenv:isort]
deps = isort>=4.2,<4.3
basepython = python3.5
commands = isort --recursive --line-width 120 --diff --check {toxinidir}/localflavor {toxinidir}/tests