forked from quietlyconfident/django-tastypie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
63 lines (54 loc) · 1.64 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[tox]
envlist = py33-dev,py27-dev,py33-1.5,py27-1.5,py26-1.5,docs
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/tests
commands =
{envbindir}/django-admin.py test core --settings=settings_core
{envbindir}/django-admin.py test basic --settings=settings_basic
#{envbindir}/django-admin.py test complex --settings=settings_complex
{envbindir}/django-admin.py test alphanumeric --settings=settings_alphanumeric
{envbindir}/django-admin.py test slashless --settings=settings_slashless
{envbindir}/django-admin.py test namespaced --settings=settings_namespaced
{envbindir}/django-admin.py test related_resource --settings=settings_related
{envbindir}/django-admin.py test validation --settings=settings_validation
{envbindir}/django-admin.py test content_gfk --settings=settings_content_gfk
deps-py2 =
-r{toxinidir}/tests/requirements.txt
python-digest
django-oauth-plus
oauth2
deps-py3 =
-r{toxinidir}/tests/requirements.txt
python3-digest>=1.8b4
[testenv:py33-dev]
basepython = python3.3
deps =
{[testenv]deps-py3}
https://github.com/django/django/zipball/master
[testenv:py33-1.5]
basepython = python3.3
deps =
{[testenv]deps-py3}
django==1.5.1
[testenv:py27-dev]
basepython = python2.7
deps =
{[testenv]deps-py2}
https://github.com/django/django/zipball/master
[testenv:py27-1.5]
basepython = python2.7
deps =
{[testenv]deps-py2}
django==1.5.1
[testenv:py26-1.5]
basepython = python2.6
deps =
{[testenv]deps-py2}
django==1.5.1
[testenv:docs]
changedir = docs
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html