Benchmarking tool for OpenStack Swift
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.

tox.ini 554B

1234567891011121314151617181920212223242526272829
  1. [tox]
  2. envlist = py34,py27,pypy,pep8
  3. minversion = 1.6
  4. [testenv]
  5. setenv = VIRTUAL_ENV={envdir}
  6. deps = -r{toxinidir}/requirements.txt
  7. -r{toxinidir}/test-requirements.txt
  8. commands = python setup.py testr --testr-args="{posargs}"
  9. passenv = *_proxy *_PROXY
  10. [testenv:pep8]
  11. commands =
  12. flake8
  13. flake8 bin/swift-bench
  14. flake8 bin/swift-bench-client
  15. [testenv:venv]
  16. commands = {posargs}
  17. [testenv:cover]
  18. setenv = NOSE_WITH_COVERAGE=1
  19. commands = nosetests {posargs}
  20. [flake8]
  21. ignore = H
  22. show-source = True
  23. exclude = .venv,.tox,dist,doc,test,*egg