2010-02-06 15:25:07 +01:00
|
|
|
[buildout]
|
|
|
|
extends =
|
|
|
|
http://svn.plone.org/svn/collective/buildout/plonetest/plone-4.0.x.cfg
|
|
|
|
|
|
|
|
package-name = plone.app.discussion
|
|
|
|
|
2010-08-09 15:05:07 +02:00
|
|
|
parts +=
|
2010-08-09 18:58:38 +02:00
|
|
|
test
|
2010-08-09 15:05:07 +02:00
|
|
|
coverage-test
|
|
|
|
coverage-report
|
2010-08-28 16:07:35 +02:00
|
|
|
jscoverage-build
|
2010-08-28 14:05:53 +02:00
|
|
|
jscoverage
|
|
|
|
pylint
|
2010-08-28 16:07:35 +02:00
|
|
|
pylint-test
|
2010-08-28 14:05:53 +02:00
|
|
|
|
2010-02-06 15:25:07 +01:00
|
|
|
[versions]
|
2010-08-09 14:06:13 +02:00
|
|
|
zope.schema = 3.6.0
|
|
|
|
Sphinx = 0.6.4
|
|
|
|
Products.TinyMCE = 1.1.1
|
2010-08-09 15:05:07 +02:00
|
|
|
|
|
|
|
[test]
|
|
|
|
recipe = collective.xmltestreport
|
|
|
|
eggs = ${buildout:package-name}
|
2010-08-24 11:04:13 +02:00
|
|
|
defaults = ['--auto-color', '--auto-progress']
|
2010-08-09 15:05:07 +02:00
|
|
|
|
|
|
|
[coverage-test]
|
|
|
|
recipe = zc.recipe.testrunner
|
2010-08-26 12:28:22 +02:00
|
|
|
eggs = ${test:eggs}
|
2010-08-09 15:05:07 +02:00
|
|
|
defaults = ['--coverage', '../../coverage', '-v', '--auto-progress']
|
|
|
|
|
|
|
|
[coverage-report]
|
|
|
|
recipe = zc.recipe.egg
|
|
|
|
eggs = z3c.coverage
|
2010-08-26 12:28:22 +02:00
|
|
|
scripts = coveragereport
|
2010-08-09 15:05:07 +02:00
|
|
|
arguments = ('coverage', 'report')
|
2010-08-28 14:05:53 +02:00
|
|
|
|
2010-08-28 16:07:35 +02:00
|
|
|
[jscoverage-build]
|
2010-08-28 14:27:39 +02:00
|
|
|
recipe = zc.recipe.cmmi
|
|
|
|
url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2
|
|
|
|
|
2010-08-28 16:07:35 +02:00
|
|
|
[jscoverage]
|
2010-08-28 14:05:53 +02:00
|
|
|
recipe = collective.recipe.template
|
|
|
|
input = inline:
|
|
|
|
#!/bin/sh
|
|
|
|
jscoverage-server -v --ip-address=0.0.0.0 --port=9999 --encoding=UTF-8 --document-root=plone/app/discussion/ --no-instrument=/tests
|
|
|
|
output = ${buildout:directory}/bin/jscoverage
|
|
|
|
mode = 755
|
|
|
|
|
|
|
|
[pylint]
|
|
|
|
recipe = zc.recipe.egg
|
|
|
|
eggs = logilab.pylintinstaller
|
2010-08-28 16:07:35 +02:00
|
|
|
extra-paths = ${instance:location}/lib/python
|
2010-08-28 14:05:53 +02:00
|
|
|
entry-points = pylint=pylint.lint:Run
|
|
|
|
arguments = sys.argv[1:]
|
2010-08-28 16:07:35 +02:00
|
|
|
|
|
|
|
[pylint-test]
|
|
|
|
recipe = collective.recipe.template
|
|
|
|
input = inline:
|
|
|
|
#!/bin/sh
|
|
|
|
rm pylint.out
|
|
|
|
echo "Running pylint"
|
|
|
|
find -L plone/app/discussion/ -regex ".*\.[c]?py" | xargs bin/pylint --output-format=parseable --zope=y --reports=n >> pylint.out
|
|
|
|
echo "finish"
|
|
|
|
output = ${buildout:directory}/bin/pylint-test
|
|
|
|
mode = 755
|