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.

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