forked from SmileyChris/django-countries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
68 lines (60 loc) · 1.26 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
64
65
66
67
68
[tox]
distribute = False
envlist =
coverage_setup,
py27, py32, py33, py34,
old,
lts,
pyuca,
readme,
coverage_report
[testenv]
usedevelop = True
setenv =
DJANGO_SETTINGS_MODULE = django_countries.tests.settings
deps =
Django<1.8
coverage
commands =
{envbindir}/coverage run -a --source django_countries {envbindir}/django-admin.py test {posargs:django_countries.tests}
[testenv:readme]
basepython = python2.7
deps =
docutils
commands =
{envbindir}/rst2html.py --report=info --halt=warning README.rst /dev/null
[testenv:master]
basepython = python2.7
deps =
https://github.com/django/django/zipball/master
coverage
[testenv:old]
basepython = python2.7
deps =
Django<1.7
coverage
[testenv:lts]
basepython = python2.6
setenv =
DJANGO_SETTINGS_MODULE = django_countries.tests.settings_lts
deps =
Django<1.5
django-discover-runner
coverage
[testenv:pyuca]
basepython = python3.3
deps =
{[testenv]deps}
pyuca
[testenv:coverage_setup]
deps =
coverage
commands =
coverage erase
[testenv:coverage_report]
deps =
coverage
commands =
coverage html
coverage report --include="django_countries/tests/*" --fail-under=100 -m
coverage report --omit="django_countries/tests/*" --fail-under=90 -m