django-oidc-provider/tox.ini

47 lines
893 B
INI
Raw Normal View History

2015-07-24 18:55:09 +00:00
[tox]
envlist=
docs,
py27-django{111},
py34-django{111,20,21},
py35-django{111,20,21},
py36-django{111,20,21},
2015-07-24 18:55:09 +00:00
[testenv]
2018-03-22 14:45:56 +00:00
changedir=
2018-03-22 19:48:54 +00:00
oidc_provider
2015-07-24 18:55:09 +00:00
deps =
2018-03-22 14:45:56 +00:00
mock
psycopg2
pytest
pytest-django
pytest-flake8
pytest-cov
django111: django>=1.11,<1.12
2018-02-01 17:00:57 +00:00
django20: django>=2.0,<2.1
django21: django>=2.1,<2.2
2017-08-08 22:41:42 +00:00
commands =
2018-03-22 14:45:56 +00:00
pytest --flake8 --cov=oidc_provider {posargs}
2018-04-20 21:23:41 +00:00
[testenv:docs]
basepython = python2.7
changedir = docs
whitelist_externals =
mkdir
2018-04-20 21:23:41 +00:00
deps =
sphinx
sphinx_rtd_theme
commands =
mkdir -p _static/
sphinx-build -v -W -b html -d {envtmpdir}/doctrees -D html_static_path="_static" . {envtmpdir}/html
2018-03-22 14:45:56 +00:00
[pytest]
DJANGO_SETTINGS_MODULE = oidc_provider.tests.settings
python_files = test_*.py
2018-03-22 20:36:20 +00:00
flake8-max-line-length = 100
2018-03-22 14:45:56 +00:00
flake8-ignore =
.git ALL
__pycache__ ALL
.ropeproject ALL
2018-03-22 19:48:54 +00:00
migrations/* ALL