An OpenStack third-party CI monitoring tool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
728B

  1. [tox]
  2. minversion = 1.6
  3. envlist = py34,py27,pypy,pep8
  4. skipsdist = True
  5. [testenv]
  6. usedevelop = True
  7. install_command = pip install -U {opts} {packages}
  8. setenv =
  9. VIRTUAL_ENV={envdir}
  10. deps = -r{toxinidir}/test-requirements.txt
  11. commands = python setup.py test --slowest --testr-args='{posargs}'
  12. [testenv:pep8]
  13. commands = flake8
  14. [testenv:venv]
  15. commands = {posargs}
  16. [testenv:cover]
  17. commands = python setup.py test --coverage --testr-args='{posargs}'
  18. [testenv:docs]
  19. commands = python setup.py build_sphinx
  20. [testenv:debug]
  21. commands = oslo_debug_helper {posargs}
  22. [flake8]
  23. # E123, E125 skipped as they are invalid PEP-8.
  24. show-source = True
  25. ignore = E123,E125
  26. builtins = _
  27. exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build