From 7f8522672cb403dee09f1150d906b053f7ce7cc4 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sat, 28 Aug 2010 12:05:53 +0000 Subject: [PATCH] jscoverage and pylint added to test buildout. svn path=/plone.app.discussion/trunk/; revision=39218 --- test-plone-4.0.x.cfg | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/test-plone-4.0.x.cfg b/test-plone-4.0.x.cfg index 03c0c5c..c1f75d3 100644 --- a/test-plone-4.0.x.cfg +++ b/test-plone-4.0.x.cfg @@ -8,7 +8,9 @@ parts += test coverage-test coverage-report - + jscoverage + pylint + [versions] zope.schema = 3.6.0 Sphinx = 0.6.4 @@ -29,3 +31,17 @@ recipe = zc.recipe.egg eggs = z3c.coverage scripts = coveragereport arguments = ('coverage', 'report') + +[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 +entry-points = pylint=pylint.lint:Run +arguments = sys.argv[1:]