tox.ini 935 B

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