forked from jieter/django-tables2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
47 lines (42 loc) · 983 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
47
[pytest]
DJANGO_SETTINGS_MODULE=tests.app.settings
norecursedirs = docs *.egg-info .git example .tox
[tox]
args_are_paths = false
envlist =
{py27,py33,py34}-{1.8},
{py27,py34,py35}-{1.9,1.10,1.11},
{py34,py35,py36}-{master},
docs
[testenv]
basepython =
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
py36: python3.6
usedevelop = true
pip_pre = true
setenv = PYTHONPATH={toxinidir}
commands =
py.test -rw --cov=django_tables2 --cov-report term-missing
flake8
deps =
1.8: Django>=1.8,<1.9
1.9: Django>=1.9,<1.10
1.10: Django>=1.10,<1.11
1.11: Django>=1.11,<2.0
pytest-warnings
psycopg2
master: https://github.com/django/django/archive/master.tar.gz
-r{toxinidir}/requirements/common.pip
[testenv:docs]
whitelist_externals = make
changedir = docs
commands = make html
basepython = python2.7
deps =
-r{toxinidir}/docs/requirements.txt
[flake8]
ignore = F401,E731
max-line-length = 120