language: php
sudo: false
php:
- 7.3
- 8.0.2
env:
- XDEBUG_MODE=coverage
before_script:
- composer self-update
- composer update
script:
vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover;
|