diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-02 20:43:58 +0400 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-02 20:43:58 +0400 |
commit | 7183cc45b26f8761c4c51dc880baa150041acc31 (patch) | |
tree | 2c00137f2cb69c29e1afda0e7bcc2c4dcc90c177 /build.xml | |
parent | b067215cfa67dac8f0eaf1a259fc1842c1e0eb34 (diff) |
adding php syntax check via travis-ci.org
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/build.xml b/build.xml new file mode 100644 index 000000000..3f83f823f --- /dev/null +++ b/build.xml @@ -0,0 +1,24 @@ +<project name="owncloud-mail" basedir="." default="test"> + + <property file="build.properties"/> + + <!-- test - Tests if the code syntax is correct and executes phpunit tests --> + <target name="test"> + <apply executable="php" failonerror="true"> + <arg value="-l" /> + <fileset dir="."> + <include name="**/*.php" /> + </fileset> + </apply> + + <!--<exec executable="phpunit" failonerror="true">--> + <!--<arg value="-c" />--> + <!--<arg path="${build.src.dir}/app/"/>--> + <!--<arg value="- -log-junit" />--> + <!--<arg path="${report.dir}/phpunit.xml"/>--> + <!--<arg value="- -coverage-clover" />--> + <!--<arg path=" ${report.dir}/clover.xml"/>--> + <!--</exec>--> + </target> + +</project> |