django-categories/tox.ini

35 lines
675 B
INI
Raw Normal View History

[tox]
envlist =
begin
py27-lint
py27-django{110,111}
py36-django{110,111,2}
coverage-report
[testenv]
deps=
django2: Django<2.1
django111: Django<2.0
django110: Django<1.11
coverage
pillow
ipdb
-r{toxinidir}/requirements.txt
commands=
coverage run --source=categories --omit='.tox/*,example/*,*/tests/*' {toxinidir}/example/manage.py test --settings='settings-testing' categories{posargs}
[testenv:begin]
commands = coverage erase
[testenv:py27-lint]
deps=
flake8
commands=
flake8 . --ignore=E501 --exclude=build/,dist/,.tox/,doc_src
[testenv:coverage-report]
commands =
coverage report -m
coverage html