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

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