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.
 
 
 

43 lines
711 B

  1. [tox]
  2. minversion=1.3
  3. envlist = py26,py27
  4. #,py27
  5. #,py27,py32
  6. #,py27,py32
  7. addopts = --ignore=setup.py --ignore=.tox --ignore=setuptools --ignore=third
  8. [pytest]
  9. rsyncdirs = scripts
  10. rsyncignore = .hg third
  11. addopts = -v -v
  12. [testenv:docs]
  13. downloadcache={toxworkdir}/downloadcache
  14. basepython=python
  15. changedir=doc
  16. deps=sphinx
  17. commands=
  18. sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
  19. [tools]
  20. downloadcache={toxworkdir}/downloadcache
  21. testing=
  22. deps=
  23. [testenv]
  24. downloadcache={toxworkdir}/downloadcache
  25. distribute=True
  26. sitepackages=False
  27. deps=
  28. pytest
  29. commands=
  30. py.test src
  31. #nosetests
  32. [testenv:py26]
  33. downloadcache={toxworkdir}/downloadcache
  34. deps=
  35. unittest2
  36. commands=
  37. py.test src