Changeset 23591


Ignore:
Timestamp:
2014/08/15 16:53:08 (7 years ago)
Author:
kimoto
Message:

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

phpunit.xml.distは環境に依存しないので1ファイルに統一

Location:
branches/version-2_13-dev
Files:
1 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/.travis.yml

    r23588 r23591  
    2424script: 
    2525  - mkdir -p reports/coverage 
    26   - phpunit --log-tap reports/tap.log --log-junit reports/unitreport.xml --coverage-html reports/coverage --coverage-clover reports/coverage/coverage.xml --bootstrap ./data/config/config.php --configuration tests/phpunit.xml.jenkins tests 
     26  - phpunit -c phpunit.xml.dist 
    2727  - grunt 
    2828 
  • branches/version-2_13-dev/appveyor.yml

    r23587 r23591  
    6464test_script: 
    6565  - php -i 
    66   - vendor\bin\phpunit.bat --bootstrap data\config\config.php --configuration tests\phpunit.xml.jenkins tests 
     66  - vendor\bin\phpunit.bat --bootstrap data\config\config.php tests 
  • branches/version-2_13-dev/build.xml

    r23400 r23591  
    44  <target name="prepare-jenkins"> 
    55    <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"/> 
    76  </target> 
    87 
     
    1817      output="reports/stdout.log" 
    1918      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/" /> 
     19      command="phpunit -c phpunit.xml.dist" /> 
    2620  </target> 
    2721  <target name="checkstyle" description="Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server"> 
Note: See TracChangeset for help on using the changeset viewer.