File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed
Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1+ filter :
2+ excluded_paths : [tests/*]
3+
4+ checks :
5+ php :
6+ remove_extra_empty_lines : true
7+ remove_php_closing_tag : true
8+ remove_trailing_whitespace : true
9+ fix_use_statements :
10+ remove_unused : true
11+ preserve_multiple : false
12+ preserve_blanklines : true
13+ order_alphabetically : true
14+ fix_php_opening_tag : true
15+ fix_linefeed : true
16+ fix_line_ending : true
17+ fix_identation_4spaces : true
18+ fix_doc_comments : true
19+
20+ tools :
21+ external_code_coverage :
22+ timeout : 600
23+ runs : 3
Original file line number Diff line number Diff line change @@ -31,4 +31,13 @@ install:
3131 - if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
3232 - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
3333
34- script : vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
34+ script :
35+ - vendor/bin/phpcs --standard=PSR2 src/
36+ - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
37+
38+ after_script :
39+ - |
40+ if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]]; then
41+ wget https://scrutinizer-ci.com/ocular.phar
42+ php ocular.phar code-coverage:upload --format=php-clover coverage.clover
43+ fi
You can’t perform that action at this time.
0 commit comments