tox.ini 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [tox]
  2. envlist = py24,py25,py26,py27
  3. [testenv]
  4. distribute = True
  5. sitepackages = False
  6. commands = nosetests
  7. [testenv:py24]
  8. basepython = python2.4
  9. commands = pip -E {envdir} install -r contrib/requirements/default.txt
  10. pip -E {envdir} install -r contrib/requirements/py24.txt
  11. pip -E {envdir} install -r contrib/requirements/test.txt
  12. nosetests
  13. [testenv:py25]
  14. basepython = python2.5
  15. commands = pip -E {envdir} install -r contrib/requirements/default.txt
  16. pip -E {envdir} install -r contrib/requirements/py25.txt
  17. pip -E {envdir} install -r contrib/requirements/test.txt
  18. nosetests
  19. [testenv:py26]
  20. basepython = python2.6
  21. commands = pip -E {envdir} install -r contrib/requirements/default.txt
  22. pip -E {envdir} install -r contrib/requirements/test.txt
  23. nosetests
  24. [testenv:py27]
  25. basepython = python2.7
  26. commands = pip -E {envdir} install -r contrib/requirements/default.txt
  27. pip -E {envdir} install -r contrib/requirements/test.txt
  28. nosetests
  29. [testenv:py27-xunit-xmlcover]
  30. basepython = python2.7
  31. commands = pip -E {envdir} install -r contrib/requirements/default.txt
  32. pip -E {envdir} install -r contrib/requirements/test.txt
  33. nosetests --with-xunit --with-coverage3 --cover3-xml