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

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