commit | author | age
|
96e536
|
1 |
[tox] |
TS |
2 |
envlist = |
90fd1c
|
3 |
py27,pypy,py33,py34,py35,pypy3,cover,docs |
96e536
|
4 |
|
TS |
5 |
[testenv] |
|
6 |
commands = |
c46a74
|
7 |
python setup.py -q test -q |
96e536
|
8 |
deps = |
TS |
9 |
zope.interface |
|
10 |
WebOb |
|
11 |
virtualenv |
|
12 |
|
|
13 |
[testenv:cover] |
|
14 |
basepython = |
c46a74
|
15 |
python2.7 |
96e536
|
16 |
commands = |
4882da
|
17 |
nosetests -qq |
f48ebb
|
18 |
coverage erase |
c46a74
|
19 |
coverage run --timid --source=repoze setup.py -q test -q |
f48ebb
|
20 |
coverage report --show-missing --omit="*fixture*" |
TS |
21 |
coverage xml |
96e536
|
22 |
deps = |
TS |
23 |
zope.interface |
|
24 |
WebOb |
|
25 |
virtualenv |
4882da
|
26 |
nose |
03b15b
|
27 |
coverage |
96e536
|
28 |
|
TS |
29 |
# we separate coverage into its own testenv because a) "last run wins" wrt |
|
30 |
# cobertura jenkins reporting and b) pypy and jython can't handle any |
|
31 |
# combination of versions of coverage and nosexcover that i can find. |
58c1e9
|
32 |
|
TS |
33 |
[testenv:docs] |
|
34 |
basepython = |
c46a74
|
35 |
python2.7 |
58c1e9
|
36 |
commands = |
TS |
37 |
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html |
|
38 |
sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest |
|
39 |
deps = |
|
40 |
Sphinx |
|
41 |
repoze.sphinx.autointerface |