Add tox for local testing.
This commit is contained in:
parent
bedd114929
commit
a2ca6f3437
1 changed files with 5 additions and 2 deletions
7
tox.ini
7
tox.ini
|
@ -1,7 +1,7 @@
|
||||||
[tox]
|
[tox]
|
||||||
|
|
||||||
envlist=
|
envlist=
|
||||||
py{27}-django{17,18}
|
py{2,3}-django{17,18}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
|
||||||
|
@ -10,5 +10,8 @@ deps =
|
||||||
django18: django==1.8
|
django18: django==1.8
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
pip install --force-reinstall -e .
|
pip uninstall --yes django-oidc-provider
|
||||||
|
pip install -e .
|
||||||
|
pip uninstall --yes pyjwkest
|
||||||
|
pip install https://github.com/juanifioren/pyjwkest/archive/patch-1.zip
|
||||||
{envbindir}/django-admin.py test oidc_provider --settings=oidc_provider.tests.app.settings
|
{envbindir}/django-admin.py test oidc_provider --settings=oidc_provider.tests.app.settings
|
Loading…
Reference in a new issue