tox.ini 688 B

12345678910111213141516171819202122232425262728293031323334
  1. [tox]
  2. envlist =
  3. cover,cover3,py26,py27,py32,py33,py34,py35,pypy,docs
  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. commands =
  29. sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
  30. python setup.py check -m -r -s