forked from kevin-brown/drf-json-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
36 lines (32 loc) · 755 Bytes
/
tox.ini
File metadata and controls
36 lines (32 loc) · 755 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
32
33
34
35
[tox]
envlist =
py{27,32,33}-django16-drf{23,24,30},
py{27,32,33,34}-django17-drf{23,24,30},
style,
docs
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/drf-json-api
deps =
django16: Django>=1.6,<1.7
django17: Django>=1.7,<1.8
drf23: djangorestframework>=2.3,<2.4
drf24: djangorestframework>=2.4,<2.5
drf30: djangorestframework>=3.0,<3.1
-r{toxinidir}/requirements.test.txt
commands =
py.test --basetemp={envtmpdir}
[testenv:style]
deps =
-r{toxinidir}/requirements.txt
flake8
commands =
python setup.py flake8
[testenv:docs]
changedir=docs/
deps =
-r{toxinidir}/requirements.txt
sphinx
commands =
sphinx-build -b linkcheck ./ _build/
sphinx-build -b html ./ _build/