forked from snok/django-auth-adfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
37 lines (34 loc) · 725 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
[tox]
envlist =
py{35,36,37,38}-django{111,20,21,22}-drf{38,39,310}
flake8
docs
[testenv]
deps =
coverage
mock
responses
django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
drf38: djangorestframework>=3.8,<3.9
drf39: djangorestframework>=3.9<3.10
drf310: djangorestframework>=3.10<3.11
commands =
coverage run manage.py test -v 2
coverage report -m
coverage html
[testenv:flake8]
deps =
flake8
pep8-naming
flake8-builtins
commands =
flake8 tests django_auth_adfs
[testenv:docs]
deps =
sphinx
sphinx_rtd_theme
commands =
sphinx-build -W -n -b html ./docs {envtmpdir}/html