forked from justinmayer/django-elevate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
44 lines (40 loc) · 867 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
42
43
44
[tox]
envlist =
{pypy,py27}-django{18,19,110,111}
py34-django{18,19,110,111,20}
py35-django{18,19,110,111,20,21}
{py36,py37}-django{111,20,21}
docs
flake8
[testenv]
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
coverage>=4.1
pytest
pytest-cov
pytest-django
commands = py.test --cov elevate --cov-report term-missing {posargs}
[testenv:docs]
basepython=python
changedir=docs
commands=sphinx-build -W -b html -d _build/doctrees . _build/html
deps=
sphinx
sphinx_rtd_theme
[testenv:flake8]
basepython=python
commands=flake8 elevate tests *.py {posargs}
deps=flake8
[travis]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36
3.7: py37
pypy: pypy