tox.ini 709 B

1234567891011121314151617181920212223242526272829303132333435
  1. [tox]
  2. envlist =
  3. cover,cover3,docs,py26,py27,py32,py33,py34,py35,pypy,pypy3
  4. [testenv]
  5. deps =
  6. pytest >= 2.5.2
  7. meld3 >= 1.0.0
  8. mock >= 0.5.0
  9. commands =
  10. py.test {posargs}
  11. [testenv:cover]
  12. basepython = python2.6
  13. commands =
  14. py.test --cov=supervisor --cov-report=term-missing --cov-report=xml {posargs}
  15. deps =
  16. {[testenv]deps}
  17. pytest-cov
  18. [testenv:cover3]
  19. basepython = python3.3
  20. commands =
  21. py.test --cov=supervisor --cov-report=term-missing --cov-report=xml {posargs}
  22. deps =
  23. {[testenv:cover]deps}
  24. [testenv:docs]
  25. deps =
  26. Sphinx
  27. readme
  28. whitelist_externals = make
  29. commands =
  30. make -C docs html BUILDDIR={envtmpdir} "SPHINXOPTS=-W -E"
  31. python setup.py check -m -r -s