1[tox]
2envlist =
3    py27,pypy,py33,py34,py35,pypy3,cover,docs
4
5[testenv]
6commands =
7    python setup.py -q test -q
8deps =
9    zope.interface
10    transaction
11
12[testenv:cover]
13basepython =
14    python2.7
15commands =
16    nosetests --with-xunit --with-xcoverage
17deps =
18    zope.interface
19    transaction
20    nose
21    coverage
22    nosexcover
23
24# we separate coverage into its own testenv because a) "last run wins" wrt
25# cobertura jenkins reporting and b) pypy and jython can't handle any
26# combination of versions of coverage and nosexcover that i can find.
27
28[testenv:docs]
29basepython =
30    python2.7
31commands =
32    sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
33deps =
34    Sphinx
35