Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [tox]
  2. envlist =
  3. py{27,33,34,35}-django18
  4. py{27,34,35}-django110
  5. py{27,34,35,36}-django111
  6. py36-djangomaster
  7. lint
  8. sandbox
  9. [testenv]
  10. commands = coverage run --parallel -m pytest {posargs}
  11. extras = test
  12. pip_pre = true
  13. deps =
  14. django18: django>=1.8,<1.9
  15. django110: django>=1.10,<1.11
  16. django111: django>=1.11,<1.12
  17. [testenv:py36-djangomaster]
  18. commands =
  19. # Can't specify this in deps - see https://github.com/tox-dev/tox/issues/513
  20. pip install https://github.com/django/django/archive/master.tar.gz#egg=django
  21. pytest {posargs}
  22. [testenv:coverage-report]
  23. basepython = python3.5
  24. deps = coverage
  25. skip_install = true
  26. commands =
  27. coverage combine
  28. coverage report
  29. [testenv:lint]
  30. basepython = python3.5
  31. deps =
  32. flake8
  33. isort
  34. commands =
  35. flake8 src tests setup.py
  36. isort -q --recursive --diff src/ tests/
  37. [testenv:sandbox]
  38. basepython = python3.5
  39. deps =
  40. -r{toxinidir}/requirements.txt
  41. django>=1.10,<1.11
  42. whitelist_externals = make
  43. commands =
  44. make build_sandbox