-
Notifications
You must be signed in to change notification settings - Fork 111
/
tox.ini
29 lines (26 loc) · 855 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 = {py36,py37}-django20,
{py36,py37}-django21,
{py36,py37,py38,py39}-django22,
{py36,py37,py38,py39}-django30,
{py36,py37,py38,py39}-django31,
{py36,py37,py38,py39}-django32,
{py38,py39}-djangomain,
flake8,docs
[testenv]
commands = py.test --quiet mama_cas/tests/
deps = -r{toxinidir}/requirements.txt
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0
djangomain: https://github.com/django/django/archive/main.tar.gz
[testenv:flake8]
commands = flake8 mama_cas/
deps = flake8
[testenv:docs]
changedir = docs
commands = sphinx-build -Wq -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
deps = Sphinx==3.2.1