forked from lincolnloop/python-qrcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (36 loc) · 917 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
[tox]
distribute = False
envlist =
coverage_setup
py{27,34,35,36,37}
readme
coverage_report
skip_missing_interpreters = True
[testenv]
usedevelop = True
extras =
test
pil
deps =
git+git://github.com/ojii/pymaging.git#egg=pymaging
git+git://github.com/ojii/pymaging-png.git#egg=pymaging-png
commands = pytest --cov --cov-append --cov-report=
[testenv:readme]
skip_install = True
deps =
docutils
Pygments
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]
skip_install = True
deps = coverage
commands = coverage erase
[testenv:coverage_report]
skip_install = True
deps = coverage
commands =
coverage html
coverage report --omit="qrcode/tests/*" --fail-under=98 -m
coverage report --include="qrcode/tests/*" --fail-under=100 -m