-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbase.cfg
74 lines (65 loc) · 1.82 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
[buildout]
index = https://pypi.org/simple
extensions = mr.developer
parts =
instance
test
coverage
test-coverage
code-analysis
omelette
releaser
develop = .
sources-dir = extras
auto-checkout =
[versions]
# Do not use a release of plone.rest:
plone.rest =
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 8080
eggs =
Plone
Pillow
plone.rest [test]
plone.app.contenttypes
[test]
recipe = zc.recipe.testrunner
eggs = ${instance:eggs}
defaults = ['-s', 'plone.rest', '--auto-color', '--auto-progress']
[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/plone/rest bin/test
${buildout:directory}/bin/coverage html
${buildout:directory}/bin/coverage report -m # --fail-under=50
# 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
[code-analysis]
recipe = plone.recipe.codeanalysis
directory = ${buildout:directory}/src
flake8-max-complexity = 15
flake8-max-line-length = 200
check-manifest = True
[releaser]
recipe = zc.recipe.egg
eggs =
zest.releaser[recommended]
zestreleaser.towncrier
towncrier
readme
docutils
[omelette]
recipe = collective.recipe.omelette
eggs = ${test:eggs}
[sources]
plone.dexterity = git git://github.com/plone/plone.dexterity.git [email protected]:plone/plone.dexterity.git branch=plip-680
plone.rest = git git://github.com/plone/plone.rest.git [email protected]:plone/plone.rest.git branch=main
Products.CMFPlone = git git://github.com/plone/Products.CMFPlone.git [email protected]:plone/Products.CMFPlone.git branch=4.3.x-plip-680