File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ tools :
2+ external_code_coverage : true
3+ timeout : 720
Original file line number Diff line number Diff line change @@ -16,14 +16,19 @@ matrix:
1616 env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest --prefer-dist"
1717
1818before_script :
19- # Not using code coverage
19+ # Remove xdebug at the start
2020 - phpenv config-rm xdebug.ini
2121 - pecl install -f mongodb-stable
2222 - composer config "platform.ext-mongo" "1.6.16"
2323 - composer self-update
2424 # To be removed when this issue is resolved: https://github.com/composer/composer/issues/5355
2525 - if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
2626 - composer update -v ${COMPOSER_FLAGS}
27+ - phpenv config-add xdebug.ini
2728
2829script :
29- - ./vendor/bin/phpunit
30+ - ./vendor/bin/phpunit --coverage-clover=coverage.clover
31+
32+ after_script :
33+ - wget https://scrutinizer-ci.com/ocular.phar
34+ - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ really useful AND stable. Thank you @rcatlin and @matthewfitz !
55
66[ ![ MIT license] ( http://img.shields.io/badge/license-MIT-brightgreen.svg )] ( http://opensource.org/licenses/MIT )
77[ ![ Build Status] ( https://travis-ci.org/doesntmattr/mongodb-migrations.png?branch=master )] ( https://travis-ci.org/doesntmattr/mongodb-migrations )
8+ [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/doesntmattr/mongodb-migrations/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/doesntmattr/mongodb-migrations/?branch=master )
89
910AntiMattr MongoDB Migrations
1011============================
You can’t perform that action at this time.
0 commit comments