Tres Seaver
2016-05-31 2d1f2cf61df8f507f9ed605d28c63af6e2ddc85a
tox.ini
@@ -1,10 +1,10 @@
[tox]
envlist = 
    py26,py27,py32,py33,pypy,cover
    py27,pypy,py33,py34,py35,pypy3,cover,docs
[testenv]
commands = 
    python setup.py test -q
    python setup.py -q test -q
deps =
    zope.interface
    WebOb
@@ -12,17 +12,30 @@
[testenv:cover]
basepython =
    python2.6
    python2.7
commands = 
    nosetests --with-xunit --with-xcoverage
    nosetests -qq
    coverage erase
    coverage run --timid --source=repoze setup.py -q test -q
    coverage report --show-missing --omit="*fixture*"
    coverage xml
deps =
    zope.interface
    WebOb
    virtualenv
    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 -b html -d docs/_build/doctrees docs docs/_build/html
    sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
deps =
    Sphinx
    repoze.sphinx.autointerface