forked from conestack/node.ext.ldap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.cfg
52 lines (45 loc) · 1.03 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
[buildout]
extends =
ldap.cfg
versions.cfg
parts +=
coverage
test-coverage
py
pydev
omelette
[test]
recipe = zc.recipe.testrunner
eggs =
${python-ldap:egg}
node
node.ext.ugm
node.ext.ldap[test]
environment = testenv
defaults = ['--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/node/ext/ldap 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
[py]
recipe = zc.recipe.egg
interpreter = py
eggs = ${test:eggs}
scripts =
[pydev]
recipe = pb.recipes.pydev
eggs = ${test:eggs}
[omelette]
recipe = collective.recipe.omelette
eggs = ${test:eggs}
ignore-develop = True