Changeset 23318


Ignore:
Timestamp:
2014/01/08 21:22:00 (7 years ago)
Author:
kimoto
Message:

#150 (ユニットテスト環境の整備)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/build.xml

    r23317 r23318  
    2525                       tests/" /> 
    2626  </target> 
    27   <target name="checkstyle" description="Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server"> 
    28       <exec executable="phpcs" output="/dev/null"> 
    29           <arg value="--report=checkstyle" /> 
    30           <arg value="--standard=tests/ruleset.xml" /> 
    31           <arg value="--extensions=php" /> 
    32           <arg value="-pv" /> 
    33           <arg value="--ignore=${basedir}/data/Smarty,${basedir}/data/smarty_extends,${basedir}/data/cache,${basedir}/data/module,${basedir}/data/mtb_constants_init.php" /> 
    34           <arg value="--report-file=reports/checkstyle.xml" /> 
    35           <arg path="data/" /> 
     27  <target name="phpcs-ci" description="Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server"> 
     28      <exec executable="phpcs" failonerror="off"> 
     29          <arg line="-v  
     30              --report-checkstyle=${basedir}/reports/checkstyle.xml 
     31              --standard=${basedir}/tests/ruleset.xml 
     32              --extensions=php 
     33              --ignore=${basedir}/data/Smarty,${basedir}/data/smarty_extends,${basedir}/data/cache,${basedir}/data/module,${basedir}/data/mtb_constants_init.php 
     34              ./data/" /> 
    3635      </exec> 
    3736  </target> 
Note: See TracChangeset for help on using the changeset viewer.