-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildout.cfg
110 lines (91 loc) · 2.28 KB
/
buildout.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 =
https://dist.plone.org/release/6.0.9/versions.cfg
https://dist.plone.org/release/6.0.9/versions-ecosystem.cfg
https://dist.plone.org/release/6.0.9/versions-extra.cfg
https://raw.githubusercontent.com/IMIO/buildout.library/plone6/versions.cfg
show-picked-versions = true
extensions =
mr.developer
parts =
instance
test
code-analysis
coverage
createcoverage
test-coverage
releaser
i18ndude
omelette
robot
plone-helper-scripts
develop = .
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 8080
environment-vars =
zope_i18n_compile_mo_files true
eggs =
Plone
Pillow
library.core
[test]
recipe = zc.recipe.testrunner
eggs = library.core [test]
initialization =
os.environ['TZ'] = 'UTC'
defaults = ['-s', 'library.core', '--auto-color', '--auto-progress']
[code-analysis]
recipe = plone.recipe.codeanalysis[recommended]
directory = ${buildout:directory}/src/library
flake8-exclude = bootstrap.py,bootstrap-buildout.py,docs,*.egg.,omelette
flake8-ignore = Q000,E501,C812,P001,P002,B901,E722,S001,W503,W605
return-status-codes = False
[coverage]
recipe = zc.recipe.egg
eggs = coverage
[test-coverage]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
export TZ=UTC
${buildout:directory}/bin/coverage run bin/test $*
${buildout:directory}/bin/coverage html
${buildout:directory}/bin/coverage report -m --fail-under=90
# Fail (exit status 1) if coverage returns exit status 2 (this happens
# when test coverage is below 100%.
output = ${buildout:directory}/bin/test-coverage
mode = 755
[createcoverage]
recipe = zc.recipe.egg
eggs = createcoverage
[releaser]
recipe = zc.recipe.egg
eggs = zest.releaser
[i18ndude]
recipe = zc.recipe.egg
eggs = i18ndude
[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
[robot]
recipe = zc.recipe.egg
eggs =
${test:eggs}
plone.app.robotframework[debug, reload]
[plone-helper-scripts]
recipe = zc.recipe.egg
eggs =
Products.CMFPlone
${instance:eggs}
interpreter = zopepy
scripts =
zopepy
plone-compile-resources
[versions]
# Don't use a released version of library.core
library.core =
prompt-toolkit = 2.0.10
# override some version pinning from Plone:
keyring = 15.2.0