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 -->
|
||||
<target name="phpunit">
|
||||
<exec command="phpunit
|
||||
--log-xml ${basedir}/hudson/phpunit.xml
|
||||
--log-pmd ${basedir}/hudson/phpunit.pmd.xml
|
||||
--coverage-clover ${basedir}/hudson/coverage/clover.xml
|
||||
<exec executable="phpunit" dir="${basedir}" failonerror="true">
|
||||
<arg line=" --log-xml ${basedir}/hudson/phpunit.xml
|
||||
--log-pmd ${basedir}/hudson/phpunit.pmd.xml
|
||||
--coverage-clover ${basedir}/hudson/coverage/clover.xml
|
||||
--coverage-html ${basedir}/hudson/coverage/
|
||||
test/phpunit/AllTests.php
|
||||
"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<!-- remove for test
|
||||
|
||||
Loading…
Reference in New Issue
Block a user