2016-02-15 18:11:11 +00:00
[tox]
envlist =
2017-10-13 03:45:49 +00:00
begin
2016-02-15 21:47:21 +00:00
py27-lint
2017-12-26 17:27:42 +00:00
py27-django{110,111}
py36-django{110,111,2}
2017-10-13 03:45:49 +00:00
coverage-report
2016-02-15 18:11:11 +00:00
[testenv]
deps =
2017-12-26 17:27:42 +00:00
django2: Django<2.1
2017-10-13 03:45:49 +00:00
django111: Django<2.0
django110: Django<1.11
coverage
2017-03-30 01:43:55 +00:00
pillow
ipdb
2016-02-15 18:11:11 +00:00
-r{toxinidir}/requirements.txt
commands =
2017-12-26 17:27:42 +00:00
coverage run --source = categories --omit='.tox/*,example/*,*/tests/*' {toxinidir}/example/manage.py test --settings='settings-testing' categories{posargs}
2017-10-13 03:45:49 +00:00
[testenv:begin]
commands = coverage erase
2016-02-15 21:47:21 +00:00
[testenv:py27-lint]
deps =
flake8
commands =
2017-10-13 03:45:49 +00:00
flake8 . --ignore = E501 --exclude=build/,dist/,.tox/,doc_src
[testenv:coverage-report]
commands =
coverage report -m
coverage html