source: branches/version-2_12_3en-p1/build.xml @ 22278

Revision 22278, 1.2 KB checked in by m_uehara, 9 years ago (diff)

#1955 r22097 - r22098 , r22104 - r22107 , r22111 - r22120 , r22123 - r22129 , r22133 , r22135 - r22143 , r22145 - r22146 , r22158 , r22164 - r22165 , r22167 - r22169 , r22187 - r22196 , r22199 - r22204, r22219 - r22261 間のコミットをマージします。

Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="EC-CUBE" basedir="." default="test">
3  <!-- Jenkins上でのみ実行するタスク -->
4  <target name="prepare-jenkins">
5    <copy overwrite="true" file="data/config/config.php.jenkins" tofile="data/config/config.php"/>
6    <copy overwrite="true" file="tests/phpunit.xml.jenkins" tofile="tests/phpunit.xml"/>
7  </target>
8
9  <target name="test">
10    <delete>
11      <fileset dir="data/cache">
12        <include name="*"/>
13      </fileset>
14    </delete>
15    <delete dir="reports" includeemptydirs="true" />
16    <mkdir dir="reports/coverage" />
17    <exec dir="."
18      output="reports/stdout.log"
19      error="reports/stderr.log"
20      command="phpunit --log-tap reports/tap.log
21               --log-junit reports/unitreport.xml
22                       --coverage-html reports/coverage
23                       --coverage-clover reports/coverage/coverage.xml
24                       --configuration tests/phpunit.xml
25                       tests/" />
26  </target>
27  <target name="checkstyle">
28    <exec command="phpcs --standard=tests/ruleset.xml
29    --report=checkstyle
30    --extensions=php
31    -pv data/
32    --report-file=reports/checkstyle.xml
33    --ignore=data/module,data/Smarty,data/smarty_extends" />
34  </target>
35</project>
Note: See TracBrowser for help on using the repository browser.