commit | author | age
|
69e0ec
|
1 |
[tox] |
a9282d
|
2 |
envlist = |
2ec353
|
3 |
lint, |
e259f1
|
4 |
py27,py34,py35,py36,py37,py38,pypy,pypy3, |
2ec353
|
5 |
docs,{py2,py3}-cover,coverage, |
0c4c9f
|
6 |
|
69e0ec
|
7 |
[testenv] |
a9282d
|
8 |
# Most of these are defaults but if you specify any you can't fall back |
MM |
9 |
# to defaults for others. |
|
10 |
basepython = |
|
11 |
py27: python2.7 |
|
12 |
py34: python3.4 |
cc9126
|
13 |
py35: python3.5 |
1941d2
|
14 |
py36: python3.6 |
568ce3
|
15 |
py37: python3.7 |
e259f1
|
16 |
py38: python3.8 |
a9282d
|
17 |
pypy: pypy |
fa9992
|
18 |
pypy3: pypy3 |
a9282d
|
19 |
py2: python2.7 |
601393
|
20 |
py3: python3.5 |
b555e9
|
21 |
|
a9282d
|
22 |
commands = |
MM |
23 |
nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:} |
0760eb
|
24 |
|
MM |
25 |
extras = |
|
26 |
testing |
109b2a
|
27 |
|
30f79d
|
28 |
deps = |
0ddcb5
|
29 |
-egit+https://github.com/Pylons/webob.git@master#egg=webob |
30f79d
|
30 |
|
aa1c9b
|
31 |
[testenv:py27-scaffolds] |
4cd6cb
|
32 |
basepython = python2.7 |
aa1c9b
|
33 |
commands = |
CM |
34 |
python pyramid/scaffolds/tests.py |
|
35 |
deps = virtualenv |
|
36 |
|
|
37 |
[testenv:py34-scaffolds] |
468054
|
38 |
basepython = python3.4 |
109b2a
|
39 |
commands = |
CM |
40 |
python pyramid/scaffolds/tests.py |
|
41 |
deps = virtualenv |
|
42 |
|
aa52c5
|
43 |
[testenv:py35-scaffolds] |
MM |
44 |
basepython = python3.5 |
|
45 |
commands = |
|
46 |
python pyramid/scaffolds/tests.py |
|
47 |
deps = virtualenv |
|
48 |
|
0844c6
|
49 |
[testenv:py36-scaffolds] |
MM |
50 |
basepython = python3.6 |
|
51 |
commands = |
|
52 |
python pyramid/scaffolds/tests.py |
|
53 |
deps = virtualenv |
|
54 |
|
e259f1
|
55 |
[testenv:py37-scaffolds] |
SP |
56 |
basepython = python3.7 |
|
57 |
commands = |
|
58 |
python pyramid/scaffolds/tests.py |
|
59 |
deps = virtualenv |
|
60 |
|
109b2a
|
61 |
[testenv:pypy-scaffolds] |
CM |
62 |
basepython = pypy |
|
63 |
commands = |
|
64 |
python pyramid/scaffolds/tests.py |
|
65 |
deps = virtualenv |
b47e90
|
66 |
|
2ec353
|
67 |
[testenv:lint] |
efb35f
|
68 |
skip_install = True |
a708d3
|
69 |
basepython = python3.5 |
b47e90
|
70 |
commands = |
MM |
71 |
flake8 pyramid/ |
e42ba5
|
72 |
python setup.py check -r -s -m |
MM |
73 |
check-manifest |
|
74 |
deps = |
2ec353
|
75 |
flake8 |
e42ba5
|
76 |
readme_renderer |
MM |
77 |
check-manifest |
|
78 |
|
a708d3
|
79 |
[testenv:docs] |
MM |
80 |
basepython = python3.5 |
|
81 |
whitelist_externals = make |
|
82 |
commands = |
0fec6d
|
83 |
make -C docs doctest html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E" |
0760eb
|
84 |
extras = |
MM |
85 |
docs |
a708d3
|
86 |
|
9cd1d1
|
87 |
[testenv:pdf] |
SP |
88 |
basepython = python3.5 |
|
89 |
whitelist_externals = make |
|
90 |
commands = |
|
91 |
make -C docs latexpdf BUILDDIR={envdir} "SPHINXOPTS=-W -E" |
0760eb
|
92 |
extras = |
MM |
93 |
docs |
9cd1d1
|
94 |
|
a708d3
|
95 |
# we separate coverage into its own testenv because a) "last run wins" wrt |
MM |
96 |
# cobertura jenkins reporting and b) pypy and jython can't handle any |
|
97 |
# combination of versions of coverage and nosexcover that i can find. |
|
98 |
[testenv:py2-cover] |
|
99 |
commands = |
|
100 |
coverage run --source=pyramid {envbindir}/nosetests |
|
101 |
coverage xml -o coverage-py2.xml |
|
102 |
setenv = |
|
103 |
COVERAGE_FILE=.coverage.py2 |
0760eb
|
104 |
extras = |
MM |
105 |
testing |
a708d3
|
106 |
|
MM |
107 |
[testenv:py3-cover] |
|
108 |
commands = |
|
109 |
coverage run --source=pyramid {envbindir}/nosetests |
|
110 |
coverage xml -o coverage-py3.xml |
|
111 |
setenv = |
|
112 |
COVERAGE_FILE=.coverage.py3 |
0760eb
|
113 |
extras = |
MM |
114 |
testing |
a708d3
|
115 |
|
MM |
116 |
[testenv:coverage] |
efb35f
|
117 |
skip_install = True |
a708d3
|
118 |
basepython = python3.5 |
MM |
119 |
commands = |
|
120 |
coverage erase |
|
121 |
coverage combine |
|
122 |
coverage xml |
|
123 |
coverage report --show-missing --fail-under=100 |
|
124 |
deps = |
|
125 |
coverage |
|
126 |
setenv = |
|
127 |
COVERAGE_FILE=.coverage |