tox.ini 475 B

123456789101112131415161718192021222324
  1. [tox]
  2. envlist = pep8, py27
  3. skipsdist = True
  4. [testenv]
  5. whitelist_externals =
  6. find
  7. install_command = pip install {opts} {packages}
  8. deps = -r{toxinidir}/requirements.txt
  9. sitepackages = True
  10. commands =
  11. find . -type f -name "*.pyc" -delete
  12. [testenv:pep8]
  13. deps = hacking
  14. commands =
  15. find . -type f -name "*.pyc" -delete
  16. flake8 {posargs}
  17. [testenv:py27]
  18. commands =
  19. find . -type f -name "*.pyc" -delete
  20. python setup.py nosetests --verbosity=3 --with-xcoverage {posargs}