forked from Pylons/pyramid_debugtoolbar
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtox.ini
More file actions
81 lines (73 loc) · 1.78 KB
/
tox.ini
File metadata and controls
81 lines (73 loc) · 1.78 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[tox]
envlist =
lint,
py27,py33,py34,py35,py36,pypy,
py27-pyramid14,
docs,
{py2,py3}-cover,coverage
[testenv]
# Most of these are defaults but if you specify any you can't fall back
# to defaults for others.
basepython =
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
py36: python3.6
pypy: pypy
py2: python2.7
py3: python3.5
deps =
pyramid14: pyramid <= 1.4.99
pyramid15: pyramid <= 1.5.99
pyramid16: pyramid <= 1.6.99
pyramid17: pyramid <= 1.7.99
pyramid18: pyramid <= 1.8.99
pyramid19: pyramid <= 1.9.99
commands =
pip install pyramid_debugtoolbar[testing]
nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:}
[testenv:py2-cover]
commands =
pip install pyramid_debugtoolbar[testing]
coverage run --source=pyramid_debugtoolbar,tests {envbindir}/nosetests
coverage xml -o coverage-py2.xml
setenv =
COVERAGE_FILE=.coverage.py2
[testenv:py3-cover]
commands =
pip install pyramid_debugtoolbar[testing]
coverage run --source=pyramid_debugtoolbar,tests {envbindir}/nosetests
coverage xml -o coverage-py3.xml
setenv =
COVERAGE_FILE=.coverage.py3
[testenv:docs]
skip_install = True
basepython = python3.5
whitelist_externals = make
commands =
pip install pyramid_debugtoolbar[docs]
make -C docs html epub BUILDDIR={envdir}
[testenv:coverage]
skip_install = True
basepython = python3.5
commands =
coverage erase
coverage combine
coverage xml
coverage report --show-missing
deps =
coverage
setenv =
COVERAGE_FILE=.coverage
[testenv:lint]
skip_install = True
basepython = python3.6
commands =
flake8 src/pyramid_debugtoolbar/
python setup.py check -r -s -m
check-manifest
deps =
flake8
readme_renderer
check-manifest