File tree Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ matrix:
2525 env : PHPCS=1 DEFAULT=0
2626
2727 - php : 7.0
28- env :
COVERALLS =1 DEFAULT=0 DB=mysql db_dsn='mysql://[email protected] /cakephp_test' 28+ env :
CODECOVERAGE =1 DEFAULT=0 DB=mysql db_dsn='mysql://[email protected] /cakephp_test' 2929
3030before_script :
31- - sh -c "if [ '$COVERALLS ' != '1' ]; then phpenv config-rm xdebug.ini; fi"
31+ - sh -c "if [ '$CODECOVERAGE ' != '1' ]; then phpenv config-rm xdebug.ini; fi"
3232
3333 - composer self-update
3434 - composer install --prefer-dist --no-interaction
@@ -38,16 +38,14 @@ before_script:
3838
3939 - sh -c "if [ '$PHPCS' = '1' ]; then composer require cakephp/cakephp-codesniffer:dev-master; fi"
4040
41- - sh -c "if [ '$COVERALLS' = '1' ]; then composer require --dev satooshi/php-coveralls:dev-master; fi"
42- - sh -c "if [ '$COVERALLS' = '1' ]; then mkdir -p build/logs; fi"
43-
4441script :
4542 - sh -c "if [ '$DEFAULT' = '1' ]; then phpunit; fi"
4643
4744 - sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi"
4845
49- - sh -c "if [ '$COVERALLS' = '1' ]; then phpunit --coverage-clover build/logs/clover.xml || true; fi"
50- - sh -c "if [ '$COVERALLS' = '1' ]; then vendor/bin/coveralls -v; fi"
46+ - sh -c "if [ '$CODECOVERAGE' = '1' ]; then phpunit --coverage-clover=clover.xml || true; fi"
47+ - sh -c "if [ '$CODECOVERAGE' = '1' ]; then wget -O codecov.sh https://codecov.io/bash; fi"
48+ - sh -c "if [ '$CODECOVERAGE' = '1' ]; then bash codecov.sh; fi"
5149
5250notifications :
5351 email : false
Original file line number Diff line number Diff line change 11# Sequence plugin to maintain ordered list of records
22
33[ ![ Build Status] ( https://img.shields.io/travis/ADmad/cakephp-sequence/master.svg?style=flat-square )] ( https://travis-ci.org/ADmad/cakephp-sequence )
4- [ ![ Coverage] ( https://img.shields.io/coveralls/ ADmad/cakephp-sequence/master .svg?style=flat-square )] ( https://coveralls .io/r /ADmad/cakephp-sequence )
4+ [ ![ Coverage] ( https://img.shields.io/codecov/c/github/ ADmad/cakephp-sequence.svg?style=flat-square )] ( https://codecov .io/github /ADmad/cakephp-sequence )
55[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/admad/cakephp-sequence.svg?style=flat-square )] ( https://packagist.org/packages/admad/cakephp-sequence )
66[ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square )] ( LICENSE.txt )
77
Original file line number Diff line number Diff line change 55 "type" : " cakephp-plugin" ,
66 "license" : " MIT" ,
77 "require" : {
8- "php" : " >=5.4" ,
98 "cakephp/orm" : " 3.*"
109 },
1110 "require-dev" : {
12- "phpunit/phpunit" : " *" ,
1311 "cakephp/cakephp" : " ~3.0"
1412 },
1513 "autoload" : {
Original file line number Diff line number Diff line change 3232 <filter >
3333 <whitelist >
3434 <directory suffix =" .php" >./src/</directory >
35- <directory suffix =" .ctp" >./src/</directory >
3635 </whitelist >
3736 </filter >
3837</phpunit >
You can’t perform that action at this time.
0 commit comments