Skip to content

Commit

Permalink
cvsimport
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Sep 17, 2011
2 parents 6324beb + 6de7f62 commit 30ecf1e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
15 changes: 8 additions & 7 deletions build.xml
Expand Up @@ -7,13 +7,7 @@
<!-- Create build directories -->
<mkdir dir="${basedir}/hudson/doxygen"/>
<mkdir dir="${basedir}/hudson/logs"/>
</target>

<!-- Run unit tests and generate junit.xml and clover.xml -->
<target name="phpunit">
<exec dir="${basedir}" executable="phpunit" failonerror="true">
<arg line="--configuration test/phpunit/hudson-phpunit.xml" />
</exec>
<mkdir dir="${basedir}/hudson/coverage"/>
</target>

<!-- Run pdepend, phpmd, phpcpd, phpcs, phpdoc and phploc in parallel -->
Expand Down Expand Up @@ -74,6 +68,13 @@
<arg value="${basedir}/build/doxygen/hudson-doxygen.doxyfile"/>
</exec>
</target>

<!-- Run unit tests and generate junit.xml and clover.xml -->
<target name="phpunit">
<exec dir="${basedir}" executable="phpunit" failonerror="true">
<arg line="--configuration test/phpunit/hudson-phpunit.xml" />
</exec>
</target>

<target name="hudson" depends="clean,parallelTasks,phpunit"/>
</project>
6 changes: 3 additions & 3 deletions test/phpunit/hudson-phpunit.xml
Expand Up @@ -13,11 +13,11 @@
</testsuite>

<logging>
<log type="coverage-html" target="build/coverage/" title="Dolibarr"
<log type="coverage-html" target="../../hudson/coverage/" title="Dolibarr"
charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
<log type="coverage-clover" target="../../hudson/logs/clover.xml"/>
<log type="junit" target="../../hudson/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>

</phpunit>

0 comments on commit 30ecf1e

Please sign in to comment.