blob: 61cc9e9cc4d6c22846054cfb789e559359b28838 (
plain)
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
|
[tox]
envlist =
py27,py34,py35,py36,py37,pypy,pypy3,
docs,
{py27,py35}-cover,coverage
[testenv]
commands =
nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:waitress}
extras =
testing
[testenv:docs]
basepython = python3.5
whitelist_externals = make
commands =
make -C docs clean html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E"
extras =
docs
[py-cover]
commands =
coverage run {envbindir}/nosetests waitress
coverage combine
coverage xml -o {envname}.xml
extras =
testing
[testenv:py27-cover]
commands =
{[py-cover]commands}
setenv =
COVERAGE_FILE=.coverage.py2
[testenv:py35-cover]
commands =
{[py-cover]commands}
setenv =
COVERAGE_FILE=.coverage.py3
[testenv:coverage]
basepython = python3.5
commands =
coverage combine
coverage xml
coverage report --show-missing --fail-under=100
deps =
coverage
setenv =
COVERAGE_FILE=.coverage
|