Skip to content

Instantly share code, notes, and snippets.

@Rarst
Last active August 13, 2019 11:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rarst/db65328d1c94eeba38f4dcc05d697c63 to your computer and use it in GitHub Desktop.
Save Rarst/db65328d1c94eeba38f4dcc05d697c63 to your computer and use it in GitHub Desktop.
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