-
Notifications
You must be signed in to change notification settings - Fork 46
/
base.cfg
101 lines (84 loc) · 2.35 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
92
93
94
95
96
97
98
99
100
101
[buildout]
index = https://pypi.org/simple
extensions = mr.developer
parts +=
instance
omelette
vscode
test
test-robot
coverage
test-coverage
releaser
sphinxbuilder
check-readme
develop = .
auto-checkout =
[sources]
plone.restapi = git https://github.com/plone/plone.restapi.git branch=master
kitconcept.recipe.solr = git https://github.com/kitconcept/kitconcept.recipe.solr.git [email protected]:kitconcept/kitconcept.recipe.solr.git branch=master
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 8080
eggs =
Plone
Pillow
plone.app.debugtoolbar
collective.solr [test]
plone.restapi
environment-vars =
zope_i18n_compile_mo_files true
[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
[vscode]
recipe = collective.recipe.vscode
[test]
recipe = zc.recipe.testrunner
eggs = ${instance:eggs}
defaults = ['-s', 'collective.solr', '--auto-color', '--auto-progress']
environment = environment
[test-robot]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
export ROBOTSUITE_PREFIX=ONLYROBOT && ${buildout:directory}/bin/test -t ONLYROBOT --all
# bin/coverage run --source=${buildout:directory}/src/collective/solr bin/test
output = ${buildout:directory}/bin/test-robot
mode = 755
environment = environment
[environment]
ROBOT_SELENIUM2LIBRARY_RUN_ON_FAILURE = Capture page screenshot and log source
[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/collective/solr 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 90%.
output = ${buildout:directory}/bin/test-coverage
mode = 755
[releaser]
recipe = zc.recipe.egg
eggs = zest.releaser
[sphinxbuilder]
recipe = collective.recipe.sphinxbuilder
source = ${buildout:directory}/docs
build = ${buildout:directory}/docs
[check-readme]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
python ${buildout:directory}/setup.py check -r -s
output = ${buildout:directory}/bin/check-readme
mode = 755
[versions]
setuptools =
zc.buildout =
collective.solr =