-
Notifications
You must be signed in to change notification settings - Fork 17
/
tox.ini
47 lines (43 loc) · 1.12 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
[tox]
envlist =
py27,pypy,py35,py36,py37,py38,pypy3,cover,docs
[testenv]
commands =
python setup.py test -q
deps =
repoze.zcml
zope.component
zope.configuration>=3.8.0
zope.exceptions
zope.interface
zope.testing
[testenv:cover]
basepython =
python2.7
commands =
# The installed version messes up nose's test discovery / coverage reporting
# So, we uninstall that from the environment, and then install the editable
# version, before running nosetests.
pip uninstall -qy repoze.workflow
pip install -qe .
nosetests --with-xunit --with-xcoverage
deps =
repoze.zcml
zope.component
zope.interface
zope.configuration>=3.8.0
zope.testing
nose
coverage
nosexcover
# we separate coverage into its own testenv because a) "last run wins" wrt
# cobertura jenkins reporting and b) pypy and jython can't handle any
# combination of versions of coverage and nosexcover that i can find.
[testenv:docs]
basepython =
python2.7
commands =
sphinx-build -W -b html -d docs/_build/doctrees docs docs/_build/html
deps =
Sphinx
repoze.sphinx.autointerface