Add tox for local testing.
This commit is contained in:
parent
bedd114929
commit
a2ca6f3437
7
tox.ini
7
tox.ini
|
@ -1,7 +1,7 @@
|
|||
[tox]
|
||||
|
||||
envlist=
|
||||
py{27}-django{17,18}
|
||||
py{2,3}-django{17,18}
|
||||
|
||||
[testenv]
|
||||
|
||||
|
@ -10,5 +10,8 @@ deps =
|
|||
django18: django==1.8
|
||||
|
||||
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
|
Loading…
Reference in a new issue