Skip to content

Commit

Permalink
Sending the coverage % to scrutinizer ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Aug 2, 2016
1 parent 1f884a8 commit 4c414e6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .scrutinizer.yml
@@ -0,0 +1,9 @@
checks:
php: true
filter:
excluded_paths: [vendor/*, Tests/*, Modules/*]
coding_style:
php: { }
tools:
external_code_coverage: true
php_code_coverage: true
12 changes: 6 additions & 6 deletions .travis.yml
Expand Up @@ -3,23 +3,23 @@ language: php
php:
- 7
- 5.6
- hhvm

env:
- LARAVEL_VERSION="~5.2" TESTBENCH_VERSION="~3.2"

script:
- phpunit --coverage-text --coverage-clover=coverage.clover

before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source

script: phpunit
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

sudo: false

notifications:
email:
- n.widart@gmail.com

matrix:
allow_failures:
- php: hhvm

0 comments on commit 4c414e6

Please sign in to comment.