Skip to content

Commit

Permalink
Merge pull request #148 from terabytesoftw/update-scrutinizer-ci
Browse files Browse the repository at this point in the history
Update scrutinizer.yml.
  • Loading branch information
terabytesoftw committed Nov 4, 2021
2 parents caef29f + 0678654 commit 2aa5868
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .scrutinizer.yml
Expand Up @@ -6,29 +6,28 @@ filter:
- "src/*"

build:
environment:
php:
version: 8.0.11
ini:
xdebug.mode: coverage

nodes:
analysis:
environment:
php: 7.4.12

tests:
override:
- php-scrutinizer-run

tests-and-coverage:
environment:
php: 7.4.12

phpunit:
dependencies:
override:
- composer self-update
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi

tests:
override:
- command: "./vendor/bin/phpunit --coverage-clover ./coverage.xml"
- command: ./vendor/bin/phpunit --coverage-clover ./coverage.xml
on_node: 1
coverage:
file: coverage.xml
format: php-clover

0 comments on commit 2aa5868

Please sign in to comment.