487d5308a5
svn path=/plone.app.discussion/trunk/; revision=39248
66 lines
1.6 KiB
INI
66 lines
1.6 KiB
INI
[buildout]
|
|
extends =
|
|
http://svn.plone.org/svn/collective/buildout/plonetest/plone-4.0.x.cfg
|
|
|
|
package-name = plone.app.discussion
|
|
|
|
parts +=
|
|
test
|
|
coverage-test
|
|
coverage-report
|
|
jscoverage-build
|
|
jscoverage
|
|
pylint
|
|
pylint-test
|
|
|
|
[versions]
|
|
zope.schema = 3.6.0
|
|
Sphinx = 0.6.4
|
|
Products.TinyMCE = 1.1.1
|
|
|
|
[test]
|
|
recipe = collective.xmltestreport
|
|
eggs = ${buildout:package-name}
|
|
defaults = ['--auto-color', '--auto-progress']
|
|
|
|
[coverage-test]
|
|
recipe = zc.recipe.testrunner
|
|
eggs = ${test:eggs}
|
|
defaults = ['--coverage', '../../coverage', '-v', '--auto-progress']
|
|
|
|
[coverage-report]
|
|
recipe = zc.recipe.egg
|
|
eggs = z3c.coverage
|
|
scripts = coveragereport
|
|
arguments = ('coverage', 'report')
|
|
|
|
[jscoverage-build]
|
|
recipe = zc.recipe.cmmi
|
|
url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2
|
|
|
|
[jscoverage]
|
|
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
|
|
extra-paths = ${instance:location}/lib/python
|
|
entry-points = pylint=pylint.lint:Run
|
|
arguments = sys.argv[1:]
|
|
|
|
[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
|