disabling phpunits in build.xml

This commit is contained in:
Fernando Ontiveros
2013-12-18 10:46:15 -04:00
parent 0f48ca3b0f
commit b9d7de31dc
2 changed files with 69 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
<project name="ProcessMaker Michelangelo" default="build-phpcs">
<target name="build"
depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdox,phpunit,phpcb"/>
depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdox"/>
<target name="build-simple"
depends="prepare,phpunit,phpcs-ci,phploc,lint"/>
@@ -85,7 +85,7 @@
<exec executable="phpmd">
<arg path="${basedir}/workflow/engine/src" />
<arg value="xml" />
<arg value="${basedir}/build/phpmd.xml" />
<arg value="codesize" /> <!-- ${basedir}/build/phpmd.xml" /> !-->
<arg value="--reportfile" />
<arg value="${basedir}/build/logs/pmd.xml" />
</exec>
@@ -109,21 +109,11 @@
</exec>
</target>
<target name="phpcs-ci-old" description="Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server">
<exec executable="phpcs" output="/dev/null">
<arg value="--report=checkstyle" />
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml" />
<arg value="--standard=PSR2" />
<arg value="-l" />
<arg path="${basedir}/workflow/engine/src" />
</exec>
</target>
<target name="phpcpd" description="Find duplicate code using PHPCPD">
<exec executable="phpcpd">
<arg value="--log-pmd" />
<arg value="${basedir}/build/logs/pmd-cpd.xml" />
<arg path="${basedir}/workflow/src" />
<arg path="${basedir}/workflow/engine/src" />
</exec>
</target>