forked from etianen/django-reversion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
46 lines (42 loc) · 926 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
45
46
[tox]
envlist =
coverage-erase
test-{py27,py35,py36}-django{18,19,110,111}
test-{py35,py36}-djangomaster
coverage-report
flake8
docs
[testenv]
usedevelop = True
deps =
py27: mock
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11a,<2.0
djangomaster: https://github.com/django/django/archive/master.tar.gz
psycopg2>=2.6.1
mysqlclient>=1.3.12
coverage>=4.1
ignore_outcome =
djangomaster: True
commands =
coverage-erase: coverage erase
test: coverage run --append tests/manage.py test tests
coverage-report: 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