forked from AngellusMortis/django_microsoft_auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
executable file
·29 lines (27 loc) · 791 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
[tox]
envlist =
py34-{dj111,dj20,dj111-ql,dj20-ql}, # Django 2.1+ does not support Python 3.4
py35-{dj111,dj20,dj21,dj111-ql,dj20-ql,dj21-ql},
py36-{dj111,dj20,dj21,dj111-ql,dj20-ql,dj21-ql},
py37-{dj111,dj20,dj21,dj111-ql,dj20-ql,dj21-ql},
py38-{dj20,dj21,dj20-ql,dj21-ql},
pypy3-{dj111,dj20,dj21,dj111-ql,dj20-ql,dj21-ql},
flake8
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 microsoft_auth
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
dj111: Django>=1.11,<2.0
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
dj111-ql: djangoql
dj20-ql: djangoql
dj21-ql: djangoql
-r{toxinidir}/tox-requirements.txt
commands =
pip install -U pip
py.test --basetemp={envtmpdir} --cov=microsoft_auth --cov-report xml