]> git.immae.eu Git - github/wallabag/wallabag.git/blame - build.xml
Add test for same day filter
[github/wallabag/wallabag.git] / build.xml
CommitLineData
aa6e27cf
J
1<?xml version="1.0" encoding="UTF-8"?>
2<project name="wallabag" default="build">
3 <target name="build" depends="prepare"/>
4
5 <target name="clean" description="Cleanup build artifacts">
6 <delete dir="${basedir}/app/cache"/>
7 </target>
8
9 <target name="prepare" depends="clean" description="Prepare for build">
10 <exec executable="composer">
11 <arg value="install"/>
aa6e27cf 12 <arg value="--no-interaction"/>
7f2d9f96 13 <arg value="--no-progress"/>
aa6e27cf 14 </exec>
c5772d11 15 <exec executable="php">
8378485e 16 <arg value="${basedir}/app/console"/>
c5772d11
J
17 <arg value="doctrine:database:drop"/>
18 <arg value="--force"/>
19 <arg value="--env=test"/>
20 </exec>
21 <exec executable="php">
8378485e 22 <arg value="${basedir}/app/console"/>
c5772d11
J
23 <arg value="doctrine:database:create"/>
24 <arg value="--env=test"/>
25 </exec>
9c0c8820 26 <exec executable="php">
8378485e 27 <arg value="${basedir}/app/console"/>
9c0c8820
J
28 <arg value="doctrine:schema:create"/>
29 <arg value="--env=test"/>
30 </exec>
aa6e27cf 31 <exec executable="php">
8378485e 32 <arg value="${basedir}/app/console"/>
aa6e27cf
J
33 <arg value="cache:clear"/>
34 <arg value="--env=test"/>
35 </exec>
3b815d2d 36 <exec executable="php">
8378485e 37 <arg value="${basedir}/app/console"/>
3b815d2d
J
38 <arg value="doctrine:fixtures:load"/>
39 <arg value="--no-interaction"/>
3b815d2d
J
40 <arg value="--env=test"/>
41 </exec>
aa6e27cf 42 </target>
276a1e9d
J
43
44 <target name="phpunit" description="Run unit tests with PHPUnit + HTML Coverage">
45 <exec executable="phpunit" failonerror="true">
46 <arg value="--coverage-html"/>
47 <arg value="build/coverage"/>
48 </exec>
49 </target>
aa6e27cf 50</project>