Add tox for local testing.

This commit is contained in:
Ignacio 2015-07-27 11:34:02 -03:00
parent bedd114929
commit a2ca6f3437

View file

@ -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