File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,8 @@ before_commands:
22 - " composer update --prefer-source"
33
44tools :
5- php_code_coverage :
6- enabled : true
7- test_command : ./vendor/bin/phpunit -c phpunit.xml.dist
5+ external_code_coverage : true
6+ php_code_coverage : true
87 php_code_sniffer :
98 enabled : true
109 config :
Original file line number Diff line number Diff line change @@ -16,4 +16,8 @@ before_script:
1616script :
1717 - ./vendor/bin/phpunit --coverage-clover ./build/clover.xml
1818 - sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then php build/coverage-checker.php build/clover.xml 70; fi"
19- - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.3' ]; then ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/; fi"
19+ - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.3' ]; then ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/; fi"
20+
21+ after_script :
22+ - sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then wget https://scrutinizer-ci.com/ocular.phar; fi"
23+ - sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then php ocular.phar code-coverage:upload --format=php-clover ./build/clover.xml; fi"
You can’t perform that action at this time.
0 commit comments