@@ -41,8 +41,6 @@ before_script:
|
||||
- find . -name \*.php -exec php -l "{}" \;
|
||||
|
||||
script:
|
||||
- ant test
|
||||
|
||||
# Check info.xml schema validity
|
||||
- wget https://apps.nextcloud.com/schema/apps/info.xsd
|
||||
- xmllint appinfo/info.xml --schema info.xsd --noout
|
||||
|
||||
25
build.xml
25
build.xml
@@ -1,25 +0,0 @@
|
||||
<project name="user_external" 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" />
|
||||
<exclude name="**/l10n/**" />
|
||||
</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>
|
||||
Reference in New Issue
Block a user