-
Notifications
You must be signed in to change notification settings - Fork 7
/
base.cfg
91 lines (77 loc) · 1.66 KB
/
base.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
[buildout]
parts =
instance
omelette
coverage
test
robot
test-coverage
releaser
code-analysis
i18ndude
develop = .
unzip = true
package-min-coverage = 80
[code-analysis]
recipe = plone.recipe.codeanalysis
directory = ${buildout:directory}/src
flake8-ignore = C901,E241,W504
flake8-max-complexity = 20
max-line-length = 80
clean-lines = False
imports = True
debug-statements = True
utf8-header = True
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 8081
debug-mode = on
verbose-security = off
deprecation-warnings = on
blob-storage = var/blobstorage
eggs =
Pillow
bda.plone.orders
ipdb
zcml =
bda.plone.orders
[releaser]
recipe = zc.recipe.egg
eggs = zest.releaser[recommended]
[test]
recipe = zc.recipe.testrunner
eggs =
bda.plone.orders[test]
[robot]
recipe = zc.recipe.egg
eggs =
${test:eggs}
plone.app.robotframework
ipdb
plone.reload
plone.app.debugtoolbar
Products.PrintingMailHost
[coverage]
recipe = zc.recipe.egg
eggs = coverage
[test-coverage]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
${buildout:directory}/bin/coverage run --source=${buildout:directory}/src/bda/plone/orders 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
[omelette]
recipe = collective.recipe.omelette
eggs =
${instance:eggs}
ignore-develop = true
[i18ndude]
unzip = true
recipe = zc.recipe.egg
eggs = i18ndude