scrutinizer wip
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
imports:
|
||||
- php
|
||||
|
||||
tools:
|
||||
external_code_coverage:
|
||||
timeout: 2100 # Timeout in seconds.
|
||||
# disable copy paste detector and similarity analyzer as they have no real value
|
||||
# and a huge bunch of false-positives
|
||||
php_sim: false
|
||||
php_cpd: false
|
||||
|
||||
build:
|
||||
environment:
|
||||
php:
|
||||
version: 5.5
|
||||
|
||||
@ -4,7 +4,6 @@ sudo: false
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 5.4
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 7.0
|
||||
@ -47,3 +46,7 @@ script:
|
||||
notifications:
|
||||
email:
|
||||
- resurtm+travis-ci@gmail.com
|
||||
|
||||
after_script:
|
||||
- travis_retry wget https://scrutinizer-ci.com/ocular.phar
|
||||
- php ocular.phar code-coverage:upload --format=php-clover tests/_output/coverage.xml
|
||||
|
||||
@ -18,3 +18,11 @@ modules:
|
||||
Yii2:
|
||||
configFile: 'tests/_app/config/test.php'
|
||||
cleanup: false
|
||||
coverage:
|
||||
enabled: true
|
||||
whitelist:
|
||||
include:
|
||||
- lib/*
|
||||
exclude:
|
||||
- lib/User/Migration/*
|
||||
- lib/User/resources/*
|
||||
|
||||
Reference in New Issue
Block a user