tox.ini 549 B

12345678910111213141516171819202122232425262728
  1. [tox]
  2. envlist = py34,py27,pep8
  3. [testenv]
  4. setenv = VIRTUAL_ENV={envdir}
  5. deps = -r{toxinidir}/requirements.txt
  6. -r{toxinidir}/test-requirements.txt
  7. commands =
  8. python setup.py testr --slowest --testr-args='{posargs}'
  9. [testenv:docs]
  10. commands = python setup.py build_sphinx
  11. [testenv:pep8]
  12. commands = flake8
  13. [testenv:venv]
  14. commands = {posargs}
  15. [testenv:cover]
  16. setenv = VIRTUAL_ENV={envdir}
  17. commands =
  18. python setup.py testr --coverage
  19. [flake8]
  20. show-source = true
  21. builtins = _
  22. exclude=.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg