forked from jbittel/django-mama-cas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
27 lines (24 loc) · 788 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
[tox]
minversion = 1.9
envlist = {py27,py33,py34,py35}-django18,
{py27,py34,py35}-django{19,110},
{py27,py34,py35,py36}-django111,
{py34,py35,py36}-django20,
{py35,py36,py37}-djangomaster,
flake8,docs
[testenv]
commands = py.test --quiet mama_cas/tests/
deps = -r{toxinidir}/requirements.txt
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
djangomaster: https://github.com/django/django/archive/master.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==1.3.1