6a15ed66f8
Fix django dep range for 1.9 compat testing
28 lines
543 B
INI
28 lines
543 B
INI
[tox]
|
|
|
|
envlist=
|
|
clean,py{27,34}-django{17,18,19},py35-django{18,19},stats
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
django17: django>=1.7,<1.8
|
|
django18: django>=1.8,<1.9
|
|
django19: django>=1.9,<1.10
|
|
coverage
|
|
mock
|
|
|
|
commands =
|
|
pip uninstall --yes django-oidc-provider
|
|
pip install -e .
|
|
coverage run --omit=.tox/*,oidc_provider/tests/* {envbindir}/django-admin.py test {posargs:oidc_provider} --settings=oidc_provider.tests.app.settings
|
|
|
|
[testenv:clean]
|
|
|
|
commands=
|
|
coverage erase
|
|
|
|
[testenv:stats]
|
|
|
|
commands=
|
|
coverage report -m
|