Skip to content

Commit

Permalink
Merge pull request #6 from DarioSwain/coveralls
Browse files Browse the repository at this point in the history
Replace Coveralls.io with Scrutinizer
  • Loading branch information
IlyaPokamestov committed Aug 1, 2015
2 parents ee5e62b + d02a399 commit 04b259a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
19 changes: 19 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
filter:
excluded_paths:
- tests/*
paths:
- src/*
checks:
php: true
build:
tests:
override:
-
command: phpunit --coverage-clover=reCaptcha.clover
coverage:
file: reCaptcha.clover
format: php-clover
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ allow_failures:

before_script:
- travis_retry composer self-update
- travis_retry composer require satooshi/php-coveralls:0.6.* --no-update --dev
- travis_retry composer install --prefer-source --no-interaction --dev

script:
- mkdir -p build/logs
- ./vendor/bin/phpunit --coverage-text
- ./vendor/bin/phpcs src --standard=psr2

after_script:
- php vendor/bin/coveralls
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Google ReCAPTCHA ver.2 backend provider
[![Latest Stable Version](https://poser.pugx.org/dario_swain/re-captcha-library/v/stable.svg)](https://packagist.org/packages/dario_swain/re-captcha-library)
[![Build Status](https://travis-ci.org/DarioSwain/ReCaptchaLibrary.svg?branch=master)](https://travis-ci.org/DarioSwain/ReCaptchaLibrary)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/DarioSwain/ReCaptchaLibrary/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/DarioSwain/ReCaptchaLibrary/?branch=master)
[![Coverage Status](https://coveralls.io/repos/DarioSwain/ReCaptchaLibrary/badge.svg)](https://coveralls.io/r/DarioSwain/ReCaptchaLibrary)
[![Code Coverage](https://scrutinizer-ci.com/g/DarioSwain/ReCaptchaLibrary/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/DarioSwain/ReCaptchaLibrary/?branch=master)
[![License](https://poser.pugx.org/dario_swain/re-captcha-library/license.svg)](https://packagist.org/packages/dario_swain/re-captcha-library)

You can find full documentation about Google reCAPTCHA API v2 [here](http://developers.google.com/recaptcha/intro).
Expand Down

0 comments on commit 04b259a

Please sign in to comment.