-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (28 loc) · 748 Bytes
/
tox.ini
File metadata and controls
31 lines (28 loc) · 748 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 =
py34-{flake8,docs},
{py27,py33,py34}-django{1.6,1.7,1.8}-drf{3.0,3.1,3.2}
[testenv]
commands = ./runtests.py --fast
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONPATH = {toxinidir}:{toxinidir}/django-rest-framework-version-transforms
deps =
django1.6: Django>=1.6, <1.7
django1.7: Django>=1.7, <1.8
django1.8: Django>=1.8, <1.9
drf3.0: djangorestframework>=3.0, <3.1
drf3.1: djangorestframework>=3.1, <3.2
drf3.2: djangorestframework>=3.2, <3.3
pytest-django>=2.8, <2.9
ipdb>=0.8
mock>=1.3.0, <1.4
[testenv:py34-flake8]
commands = ./runtests.py --lintonly
deps =
pytest>=2.7, <2.8
flake8>=2.4, <2.5
[testenv:py34-docs]
commands = mkdocs build
deps =
mkdocs>=0.14, <0.15