Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 39 lines (33 sloc) 1.061 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
<?xml version="1.0" encoding="UTF-8"?>

<project name="ci.qa.php.net" default="build">

 <property environment="MyEnv" />

 <condition property="PHPMake" value="${MyEnv.PHP_MAKE}" else="make">
  <isset property="MyEnv.PHP_MAKE" />
 </condition>

 <target name="build">
  <exec executable="./vcsclean" failonerror="true">
  </exec>
  <exec executable="./buildconf" failonerror="true">
   <arg value="--force" />
  </exec>
  <exec executable="./configure" failonerror="true">
    <arg value="--enable-debug"/>
    <arg value="--enable-sockets"/>
    <arg value="--enable-zip"/>
    <arg value="--with-zlib"/>
    <arg value="--enable-bcmath"/>
    <arg value="--enable-intl"/>
  </exec>
  <exec executable="${PHPMake}" failonerror="true">
   <arg value="-s" />
   <arg value="-j2" />
  </exec>
 </target>

 <target name="test" depends="build">
  <exec executable="${PHPMake}" failonerror="true">
   <env key="NO_INTERACTION" value="1" />
   <env key="TEST_PHP_JUNIT" value="${MyEnv.WORKSPACE}/junit.xml" />
   <arg value="test" />
  </exec>
 </target>
</project>
Something went wrong with that request. Please try again.