forked from collective/Products.EasyNewsletter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-plone-4.0.x.cfg
110 lines (84 loc) · 2.41 KB
/
test-plone-4.0.x.cfg
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[buildout]
extends =
http://svn.plone.org/svn/collective/buildout/plonetest/plone-4.0.x.cfg
package-name = Products.EasyNewsletter
package-directory = Products/EasyNewsletter
parts +=
omelette
zopepy
sphinxbuilder
test
coverage
coveragereport
coveragereport-xml
coveragereport-html
[instance]
eggs +=
Sphinx
Sphinx-PyPI-upload
repoze.sphinx.autointerface
Products.PdbDebugMode
Products.PrintingMailHost
plone.reload
Products.MaildropHost
[versions]
Sphinx = 0.6.6
collective.recipe.sphinxbuilder = 0.6.3.3
[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
packages = ${instance:location}/lib/python ./
[zopepy]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/zc.recipe.egg
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
scripts = zopepy
[sphinxbuilder]
recipe = collective.recipe.sphinxbuilder
interpreter = ${buildout:directory}/bin/zopepy
[sphinxupload]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
bin/zopepy setup.py upload_sphinx
output = ${buildout:directory}/bin/sphinxupload
mode = 755
[test]
recipe = collective.xmltestreport
eggs = ${buildout:package-name} [test]
defaults = ['--auto-color', '--auto-progress']
[pycoverage]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=pycoverage
[coverage]
recipe = zc.recipe.egg
eggs = coverage
initialization =
sys.argv = sys.argv[:] + ['run', 'bin/test', '-k', '-q', '--xml']
[coveragereport]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=coveragereport
initialization =
exclude = '--omit=' + '${buildout:package-directory}/tests/*'
include = '--include=' + '${buildout:package-directory}/*.py'
sys.argv = sys.argv[:] + ['report', '-i', include, exclude]
[coveragereport-xml]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=coveragereport-xml
initialization =
exclude = '--omit=' + '${buildout:package-directory}/tests/*'
include = '--include=' + '${buildout:package-directory}/*.py'
sys.argv = sys.argv[:] + ['xml', '-i', include, exclude]
[coveragereport-html]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=coveragereport-html
initialization =
exclude = '--omit=' + '${buildout:package-directory}/tests/*'
include = '--include=' + '${buildout:package-directory}/*.py'
sys.argv = sys.argv[:] + ['html', '-i', include, exclude]