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