您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

tox.ini 974B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. [testenv]
  9. commands = python runtests.py []
  10. [testenv:py27-1.6]
  11. basepython = python2.7
  12. deps = -r{toxinidir}/requirements_py2.txt
  13. django==1.6.8
  14. [testenv:py33-1.6]
  15. basepython = python3.3
  16. deps = -r{toxinidir}/requirements.txt
  17. django==1.6.8
  18. [testenv:py34-1.6]
  19. basepython = python3.4
  20. deps = -r{toxinidir}/requirements.txt
  21. django==1.6.8
  22. [testenv:py27-1.7]
  23. basepython = python2.7
  24. deps = -r{toxinidir}/requirements_py2.txt
  25. django==1.7.1
  26. [testenv:py33-1.7]
  27. basepython = python3.3
  28. deps = -r{toxinidir}/requirements.txt
  29. django==1.7.1
  30. [testenv:py34-1.7]
  31. basepython = python3.4
  32. deps = -r{toxinidir}/requirements.txt
  33. django==1.7.1