forked from etianen/django-reversion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (37 loc) · 712 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
[tox]
envlist =
{py27,py34,py35}-django{18,19,110}
flake8
docs
[testenv]
usedevelop = True
deps =
py27: mock
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django==1.10a1
psycopg2>=2.6.1
mysqlclient>=mysqlclient
coverage>=4.1
setenv =
postgres: DJANGO_DATABASE=postgres
mysql: DJANGO_DATABASE=mysql
commands =
coverage run tests/manage.py test tests
coverage report
[testenv:flake8]
basepython = python3.5
deps =
flake8>=2.5.4
commands =
flake8
[flake8]
max-line-length=120
exclude=venv,migrations,.tox
[testenv:docs]
basepython = python3.5
changedir = docs
deps =
sphinx>=1.4.2
commands=
sphinx-build -n -W . _build