Skip to content

Instantly share code, notes, and snippets.

@Rarst
Last active Aug 13, 2019
Embed
What would you like to do?
Scrutinizer config to install PHPUnit on the fly, without shipping in project dependencies.
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
build:
environment:
php:
version: 7.2
dependencies:
before:
- composer require phpunit/phpunit:^7.0 --dev
tests:
override:
-
command: vendor/bin/phpunit --coverage-clover=clover.xml
coverage:
file: clover.xml
format: php-clover
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment