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
2019-06-26 18:03:43 +00:00
py27-django{111}
py36-django{111,2,21,22}
2017-10-13 03:45:49 +00:00
coverage-report
2016-02-15 18:11:11 +00:00
[testenv]
deps =
2019-06-26 18:03:43 +00:00
django2: Django> = 2.0,<2.1
django21: Django> = 2.1,<2.2
django22: Django> = 2.2,<2.3
django111: Django> = 1.11,<1.12
2017-10-13 03:45:49 +00:00
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
2019-06-26 18:49:45 +00:00
coverage html