-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (43 loc) · 750 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
48
49
50
51
52
53
54
55
[tox]
envlist=py27-d16,py27-d17,py34-d17,cov
[pylama]
skip=example/*
ignore=E1002
[pylama:*/__init__.py]
ignore=C0110,W0401
[pylama:tests/*]
ignore=D
[pylama:*/tests.py]
ignore=D,C0111,E501,C0301
[pylama:*/settings.py]
ignore=E501,C0301
[pytest]
DJANGO_SETTIGNS_MODULE=tests
addopts = -sx tests/__init__.py
[testenv]
commands=py.test
deps =
pytest
[testenv:py27-d16]
basepython = python2.7
deps =
django==1.6.7
{[testenv]deps}
[testenv:py27-d17]
basepython = python2.7
deps =
django==1.7
{[testenv]deps}
[testenv:py34-d17]
basepython = python3.4
deps =
django==1.7
{[testenv]deps}
[testenv:cov]
deps =
coverage
django==1.7
{[testenv]deps}
commands =
coverage run -m py.test
coverage report