-
Notifications
You must be signed in to change notification settings - Fork 7
/
buildout.cfg
41 lines (36 loc) · 986 Bytes
/
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
[buildout]
parts = test
scripts
sphinxbuilder
coveragerc
coverage
develop = .
[scripts]
recipe = zc.recipe.egg
eggs = programslice
[sphinxbuilder]
recipe = collective.recipe.sphinxbuilder
source = ${buildout:directory}/docs
build = ${buildout:directory}/docs-build
eggs = programslice
outputs = html
[test]
recipe = zc.recipe.egg
eggs = pytest
programslice[test]
scripts = py.test=test
arguments = ['--doctest-modules', '${buildout:directory}/programslice'] + sys.argv[1:]
[coverage]
recipe = zc.recipe.egg
eggs = pytest
pytest-cov
programslice[test]
scripts = py.test=coverage
arguments = ['-x', '--doctest-modules', '${buildout:directory}/programslice', '--cov-config', '.coveragerc', '--cov-report', 'term', '--cov-report', 'html', '--cov', 'programslice']
[coveragerc]
recipe = collective.recipe.template
input = inline:
[run]
branch = True
omit = programslice/tests/*
output = ${buildout:directory}/.coveragerc