Fix: the command attribute is deprecated
This commit is contained in:
parent
54681e9195
commit
aa8657f159
@ -71,13 +71,14 @@
|
|||||||
|
|
||||||
<!-- Run unit tests and generate junit.xml and clover.xml -->
|
<!-- Run unit tests and generate junit.xml and clover.xml -->
|
||||||
<target name="phpunit">
|
<target name="phpunit">
|
||||||
<exec command="phpunit
|
<exec executable="phpunit" dir="${basedir}" failonerror="true">
|
||||||
--log-xml ${basedir}/hudson/phpunit.xml
|
<arg line=" --log-xml ${basedir}/hudson/phpunit.xml
|
||||||
--log-pmd ${basedir}/hudson/phpunit.pmd.xml
|
--log-pmd ${basedir}/hudson/phpunit.pmd.xml
|
||||||
--coverage-clover ${basedir}/hudson/coverage/clover.xml
|
--coverage-clover ${basedir}/hudson/coverage/clover.xml
|
||||||
--coverage-html ${basedir}/hudson/coverage/
|
--coverage-html ${basedir}/hudson/coverage/
|
||||||
test/phpunit/AllTests.php
|
test/phpunit/AllTests.php
|
||||||
"/>
|
"/>
|
||||||
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- remove for test
|
<!-- remove for test
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user