forked from stuross/drf-tracking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (46 loc) · 1.2 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
47
48
49
[tox]
envlist =
py27-{flake8,docs},
{py27,py33,py34,py35}-django1.8-drf{3.0,3.1,3.2,3.3,3.4,3.5},
{py27,py35,py35}-django1.9-drf{3.3,3.4,3.5},
{py27,py34,py35}-django1.10-drf{3.4,3.5},
{py27,py34,py35,py36}-django1.11-drf{3.5,3.6},
[testenv]
commands = ./runtests.py --fast
passenv =
DATABASE_URL
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
django1.8: Django~=1.8.16
django1.9: Django~=1.9.11
django1.10: Django~=1.10.7
django1.11: Django~=1.11.1
drf3.0: djangorestframework~=3.0.5
drf3.1: djangorestframework~=3.1.3
drf3.2: djangorestframework~=3.2.5
drf3.3: djangorestframework~=3.3.3
drf3.4: djangorestframework~=3.4.7
drf3.5: djangorestframework~=3.5.3
drf3.6: djangorestframework~=3.6.2
pytest-django
django-environ
flaky
psycopg2
mysqlclient
mock
basepython =
py36: python3.6
py35: python3.5
py34: python3.4
py33: python3.3
py27: python2.7
[testenv:py27-flake8]
commands = ./runtests.py --lintonly
deps =
pytest>=2.7
flake8>=2.4
[testenv:py27-docs]
commands = mkdocs build
deps =
mkdocs>=0.11