2015-07-24 18:55:09 +00:00
|
|
|
[tox]
|
|
|
|
|
|
|
|
envlist=
|
2016-08-11 17:13:23 +00:00
|
|
|
clean,
|
2017-05-05 03:43:39 +00:00
|
|
|
py27-django{17,18,19,110,111},
|
|
|
|
py34-django{17,18,19,110,111},
|
|
|
|
py35-django{18,19,110,111},
|
|
|
|
py36-django{18,19,110,111},
|
2017-08-08 22:41:42 +00:00
|
|
|
flake8
|
2015-07-24 18:55:09 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
|
|
|
|
deps =
|
2016-02-12 16:02:35 +00:00
|
|
|
django17: django>=1.7,<1.8
|
|
|
|
django18: django>=1.8,<1.9
|
2016-08-02 02:17:20 +00:00
|
|
|
django19: django>=1.9,<1.10
|
2016-08-04 06:30:22 +00:00
|
|
|
django110: django>=1.10,<1.11
|
2017-05-05 03:43:39 +00:00
|
|
|
django111: django>=1.11,<1.12
|
2015-08-03 18:08:29 +00:00
|
|
|
coverage
|
2015-09-30 12:55:48 +00:00
|
|
|
mock
|
2015-07-24 18:55:09 +00:00
|
|
|
|
|
|
|
commands =
|
2016-08-11 17:13:23 +00:00
|
|
|
coverage run setup.py test
|
2015-08-03 18:08:29 +00:00
|
|
|
|
|
|
|
[testenv:clean]
|
|
|
|
|
|
|
|
commands=
|
|
|
|
coverage erase
|
|
|
|
|
|
|
|
[testenv:stats]
|
|
|
|
|
|
|
|
commands=
|
|
|
|
coverage report -m
|
2017-08-08 22:41:42 +00:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
basepython=python
|
|
|
|
deps=flake8
|
|
|
|
commands =
|
|
|
|
flake8 --max-line-length=120
|