tox.ini 872 B

12345678910111213141516171819202122232425262728293031323334
  1. [tox]
  2. envlist = py{27,34,35,36}-django{18,111},
  3. py{35,36,37}-django{20,21,22,30,31,32},
  4. py{36,37}-django{master},
  5. lint, docs
  6. [testenv]
  7. deps =
  8. coverage
  9. pytest
  10. pytest-cov
  11. pytest-django
  12. python-coveralls
  13. django18: Django>=1.8,<1.9
  14. django111: Django>=1.11,<2.0
  15. django20: Django>=2.0,<2.1
  16. django21: Django>=2.1,<2.2
  17. django22: Django>=2.2,<3
  18. django30: Django>=3.0,<3.1
  19. django31: Django>=3.1,<3.2
  20. django32: Django>=3.2,<3.3
  21. djangomaster: https://github.com/django/django/archive/master.tar.gz#egg=Django
  22. commands = py.test {posargs}
  23. [testenv:docs]
  24. deps = sphinx
  25. commands =
  26. sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/_build/html
  27. sphinx-build -W -b linkcheck docs {envtmpdir}/_build/html
  28. [testenv:lint]
  29. deps =
  30. flake8==3.3.0
  31. commands=flake8 django_babel tests