Skip to content

Commit

Permalink
DIAM-940 Scrutinizer-ci and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Olexandr Radchenko committed Sep 8, 2015
1 parent b081eea commit daef2e5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ checks:
php: true
filter:
excluded_paths:
- Tests/*
- Tests/*
tools:
external_code_coverage:
timeout: 600
runs: 3

6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ before_install:

install:
- composer install --prefer-source --profile

script: if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --coverage-clover=coverage.clover; fi

after_script:
- if [ -e coverage.clover ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ -e coverage.clover ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

0 comments on commit daef2e5

Please sign in to comment.