You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tox.ini 719B

123456789101112131415161718192021222324252627282930313233343536
  1. [tox]
  2. envlist = py{27,34,35,36}-django{18,19,110},py33-django18,lint,sandbox
  3. [testenv]
  4. commands = coverage run --parallel -m pytest {posargs}
  5. extras = test
  6. deps =
  7. -r{toxinidir}/requirements.txt
  8. django18: django>=1.8,<1.9
  9. django19: django>=1.9,<1.10
  10. django110: django>=1.10,<1.11
  11. [testenv:coverage-report]
  12. basepython = python3.5
  13. deps = coverage
  14. skip_install = true
  15. commands =
  16. coverage combine
  17. coverage report
  18. [testenv:lint]
  19. basepython = python3.5
  20. deps = flake8
  21. commands =
  22. flake8 src tests setup.py
  23. isort -q --recursive --diff src/ tests/
  24. [testenv:sandbox]
  25. basepython = python3.5
  26. deps =
  27. -r{toxinidir}/requirements.txt
  28. django>=1.10,<1.11
  29. commands =
  30. make build_sandbox