Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Commit

Permalink
Try to fix scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Feb 21, 2019
1 parent 085283a commit d166363
Showing 1 changed file with 33 additions and 21 deletions.
54 changes: 33 additions & 21 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
checks:
php:
code_rating: true
duplication: true

build:
nodes:
flexipeehp:
override:
-
idle_timeout: 5000
command: 'php -d memory_limit=2048M -f ./vendor/bin/phpunit -- --coverage-clover=clover'
coverage:
file: 'clover'
format: 'php-clover'
dependencies:
before:
- composer self-update
- composer install --no-interaction
analysis:
tests:
override:
- php-scrutinizer-run

coverage:
tests:
override:
- command: './vendor/bin/phpunit --coverage-clover=/home/scrutinizer/build/coverage.xml'
coverage:
file: coverage.xml
format: clover

filter:
excluded_paths:
- 'tests/*'
Expand All @@ -12,24 +44,4 @@ checks:
php:
code_rating: true
duplication: true

build:
environment:
php:
version: 7.1
dependencies:
before:
- sudo composer self-update && composer --version
tests:
override:
-
idle_timeout: 5000
command: 'php -d memory_limit=2048M -f ./vendor/bin/phpunit -- --coverage-clover=clover'
coverage:
file: 'clover'
format: 'php-clover'
nodes:
analysis:
tests:
override:
- php-scrutinizer-run

0 comments on commit d166363

Please sign in to comment.