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 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Tox (http://tox.testrun.org/) is a tool for running tests
  2. # in multiple virtualenvs. This configuration file will run the
  3. # test suite on all supported python versions. To use it, "pip install tox"
  4. # and then run "tox" from this directory.
  5. [flake8]
  6. exclude = migrations,south_migrations
  7. max-complexity = 10
  8. [tox]
  9. envlist = py27-1.6, py27-1.7, py33-1.6, py33-1.7, py34-1.6, py34-1.7
  10. [testenv]
  11. commands = python runtests.py []
  12. [testenv:py27-1.6]
  13. basepython = python2.7
  14. deps = -r{toxinidir}/requirements_py2.txt
  15. django==1.6.5
  16. [testenv:py33-1.6]
  17. basepython = python3.3
  18. deps = -r{toxinidir}/requirements.txt
  19. django==1.6.5
  20. [testenv:py34-1.6]
  21. basepython = python3.4
  22. deps = -r{toxinidir}/requirements.txt
  23. django==1.6.5
  24. [testenv:py27-1.7]
  25. basepython = python2.7
  26. deps = -r{toxinidir}/requirements_py2.txt
  27. https://www.djangoproject.com/download/1.7c2/tarball/
  28. [testenv:py33-1.7]
  29. basepython = python3.3
  30. deps = -r{toxinidir}/requirements.txt
  31. https://www.djangoproject.com/download/1.7c2/tarball/
  32. [testenv:py34-1.7]
  33. basepython = python3.4
  34. deps = -r{toxinidir}/requirements.txt
  35. https://www.djangoproject.com/download/1.7c2/tarball/