Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (33 sloc) 1.004 kb
<?xml version="1.0" encoding="UTF-8"?>
<project name="PHPUnit" default="build">
<property name="php" value="php"/>
<target name="build"
<target name="clean" description="Cleanup build artifacts">
<delete dir="${basedir}/build/api"/>
<delete dir="${basedir}/build/coverage"/>
<target name="prepare" depends="clean"
description="Prepare for build">
<mkdir dir="${basedir}/build/api"/>
<mkdir dir="${basedir}/build/coverage"/>
<target name="lint">
<apply executable="${php}" failonerror="true">
<arg value="-l" />
<fileset dir="${basedir}">
<include name="**/*.php" />
<modified />
<fileset dir="${basedir}/Tests">
<include name="**/*.php" />
<modified />
<target name="phpunit" description="Run unit tests with PHPUnit">
<exec executable="${php}" failonerror="true">
<arg path="${basedir}/phpunit.php" />
Jump to Line
Something went wrong with that request. Please try again.