2015-07-24 18:55:09 +00:00
|
|
|
[tox]
|
|
|
|
|
|
|
|
envlist=
|
2016-04-13 07:02:05 +00:00
|
|
|
clean,py{27,34}-django{17,18,19},py35-django{18,19},stats
|
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
|
|
|
|
django19: django>=1.9,<2.0
|
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 =
|
2015-07-27 16:03:13 +00:00
|
|
|
pip install -e .
|
2015-08-03 18:08:29 +00:00
|
|
|
coverage run --omit=.tox/*,oidc_provider/tests/* {envbindir}/django-admin.py test oidc_provider --settings=oidc_provider.tests.app.settings
|
|
|
|
|
|
|
|
[testenv:clean]
|
|
|
|
|
|
|
|
commands=
|
|
|
|
coverage erase
|
|
|
|
|
|
|
|
[testenv:stats]
|
|
|
|
|
|
|
|
commands=
|
|
|
|
coverage report -m
|