2016-02-15 18:11:11 +00:00
|
|
|
[tox]
|
|
|
|
|
envlist =
|
2016-02-15 21:47:21 +00:00
|
|
|
py27-lint
|
2016-11-14 18:28:07 +00:00
|
|
|
py27-django{18,19,110},
|
|
|
|
|
py34-django{18,19,110},
|
2017-05-13 07:13:35 +00:00
|
|
|
py35-django{18,19,110,111},
|
2016-02-15 18:11:11 +00:00
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
|
deps=
|
2017-05-13 07:13:35 +00:00
|
|
|
django111: Django==1.11.1
|
2016-11-14 18:28:07 +00:00
|
|
|
django110: Django==1.10.3
|
2016-02-15 18:11:11 +00:00
|
|
|
django19: Django==1.9.2
|
|
|
|
|
django18: Django==1.8.9
|
2016-03-06 01:45:54 +00:00
|
|
|
coverage==4.0.3
|
2017-03-30 01:43:55 +00:00
|
|
|
pillow
|
|
|
|
|
ipdb
|
2016-02-15 18:11:11 +00:00
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
|
|
|
|
|
|
commands=
|
2016-03-06 01:45:54 +00:00
|
|
|
coverage run --source={toxinidir} --omit='.tox/*' {toxinidir}/example/manage.py test --settings='settings-testing' categories
|
2016-02-15 21:47:21 +00:00
|
|
|
|
|
|
|
|
[testenv:py27-lint]
|
|
|
|
|
deps=
|
|
|
|
|
flake8
|
|
|
|
|
|
|
|
|
|
commands=
|
2016-11-14 18:28:07 +00:00
|
|
|
flake8 . --ignore=E501 --exclude=categories/south_migrations/,.tox/
|