forked from lincolnloop/python-qrcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (44 loc) · 1005 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
42
43
44
45
46
47
48
49
50
[tox]
distribute = False
envlist =
coverage_setup,
py26, py27, py33, py34,
readme,
coverage_report
[testenv]
usedevelop = True
deps =
coverage
pillow
git+git://github.com/ojii/pymaging.git#egg=pymaging
git+git://github.com/ojii/pymaging-png.git#egg=pymaging-png
commands =
{envbindir}/coverage run -a --source qrcode -m unittest {posargs:discover qrcode}
[testenv:py27]
deps =
{[testenv]deps}
mock
[testenv:py26]
deps =
{[testenv:py27]deps}
unittest2
lxml
commands =
{envbindir}/coverage run -a --source qrcode {envbindir}/unit2 {posargs:discover qrcode}
[testenv:readme]
deps =
docutils
commands =
{envbindir}/rst2html.py --report=info --halt=warning README.rst /dev/null
{envbindir}/rst2html.py --report=info --halt=warning CHANGES.rst /dev/null
[testenv:coverage_setup]
deps =
coverage
commands =
coverage erase
[testenv:coverage_report]
deps =
coverage
commands =
coverage html
coverage report --fail-under=90 -m