Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-01-02 20:43:58 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-01-02 20:43:58 +0400
commit7183cc45b26f8761c4c51dc880baa150041acc31 (patch)
tree2c00137f2cb69c29e1afda0e7bcc2c4dcc90c177 /build.xml
parentb067215cfa67dac8f0eaf1a259fc1842c1e0eb34 (diff)
adding php syntax check via travis-ci.org
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml24
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>