Changeset 22855


Ignore:
Timestamp:
2013/06/06 17:50:51 (7 years ago)
Author:
nanasess
Message:

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

  • Add .coveralls.yml
Location:
branches/version-2_13-dev
Files:
2 added
1 edited

Legend:

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

    r22842 r22855  
     1# for travis-ci 
     2# see also. https://travis-ci.org 
    13language: php 
    24 
     
    1012 
    1113before_script: 
     14  - curl -s http://getcomposer.org/installer | php 
     15  - php composer.phar install --dev --no-interaction 
    1216  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE myapp_test;'; fi" 
    1317  - sh -c "if [ '$DB' = 'mysql' ]; then sh ./eccube_install.sh mysql; fi" 
     
    1620  - cp tests/require.php.jenkins tests/require.php 
    1721  - cat ./data/config/config.php 
     22 
    1823script: 
    19   - phpunit --bootstrap ./data/config/config.php --configuration tests/phpunit.xml.jenkins tests 
     24  - mkdir -p reports/coverage 
     25  - 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 
     27after_script: 
     28  - php vendor/bin/coveralls -v 
Note: See TracChangeset for help on using the changeset viewer.