forked from jazzband/django-oauth-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (36 loc) · 801 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[pytest]
DJANGO_SETTINGS_MODULE=oauth2_provider.tests.settings
testpaths=oauth2_provider
[tox]
envlist =
{py27}-django{17,18,19},
{py32}-django{17,18}
{py33}-django{17,18},
{py34}-django{17,18,19},
{py35}-django{18,19},
docs,
flake8
[testenv]
commands=python runtests.py -q --cov oauth2_provider --cov-report= --cov-append
deps =
django17: Django==1.7.10
django18: Django==1.8.6
django19: https://www.djangoproject.com/download/1.9rc1/tarball/
coverage<4
-rrequirements/testing.txt
[testenv:docs]
basepython=python
changedir=docs
deps =
sphinx
south
commands=make html
[testenv:flake8]
deps =
flake8
commands =
flake8 oauth2_provider
[flake8]
max-line-length = 120
ignore = F403,F401
exclude = docs,migrations,south_migrations,.tox