-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (35 loc) · 891 Bytes
/
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
[tox]
envlist=py27-1.4, py27-1.5, py27-1.6, py33-1.5, py33-1.6
toxworkdir={homedir}/.tox/runcommands
[testenv]
commands=
python setup.py develop
coverage run --branch --source=runcommands {envbindir}/django-admin.py test runcommands
coverage report --omit=runcommands/tests.py -m
flake8 runcommands
setenv=DJANGO_SETTINGS_MODULE = runcommands.test_settings
[testenv:py27-1.4]
basepython=python2.7
deps=
Django==1.4.10
-r{toxinidir}/requirements-dev.txt
[testenv:py27-1.5]
basepython=python2.7
deps=
Django==1.5.5
-r{toxinidir}/requirements-dev.txt
[testenv:py27-1.6]
basepython=python2.7
deps=
Django==1.6
-r{toxinidir}/requirements-dev.txt
[testenv:py33-1.5]
basepython=python3.3
deps=
Django==1.5.5
-r{toxinidir}/requirements-dev.txt
[testenv:py33-1.6]
basepython=python3.3
deps=
Django==1.6
-r{toxinidir}/requirements-dev.txt