scrutinizer wip

This commit is contained in:
resurtm
2016-12-20 21:59:51 +06:00
parent 3c0243ec95
commit 1a97bbc2c8
3 changed files with 27 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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/*