Skip to content

Commit

Permalink
updating travis again; trying to activate coverage for scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
walkersoft committed Feb 10, 2021
1 parent f9a98cb commit 5086d35
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
language: php
php:
- 7.4
- 8.0
- 7.4.15
- 8.0.1
env:
global:
- XDEBUG_MODE=coverage
before_script:
- composer self-update
- composer install
script:
- vendor/bin/phpunit -c phpunit.xml -dzend_extenstion=xdebug -dxdebug.coverage_enabled=1 -dxdebug.mode=coverage --coverage-clover coverage.clover
- vendor/bin/phpunit -c phpunit.xml -dxdebug.coverage_enabled=1 -dxdebug.mode=coverage --coverage-clover coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

0 comments on commit 5086d35

Please sign in to comment.