Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Commit

Permalink
Merge pull request #43 from Narno/develop-coveralls
Browse files Browse the repository at this point in the history
Switches to Coveralls
  • Loading branch information
ArnaudLigny committed Feb 12, 2016
2 parents bd1d8e3 + 0fd9a1d commit 804a649
Show file tree
Hide file tree
Showing 5 changed files with 553 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ tools:
php_code_sniffer: true
php_pdepend: true
sensiolabs_security_checker: true
external_code_coverage:
timeout: 600
runs: 3
php_code_coverage: false
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ install:

before_script:
- composer install --no-interaction
- mkdir -p build/logs

script:
- phpunit --coverage-clover=coverage.clover
#- phpunit --coverage-clover=coverage.clover
- phpunit -c ./ --coverage-text --coverage-clover build/logs/clover.xml

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
#- wget https://scrutinizer-ci.com/ocular.phar
#- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- php vendor/bin/coveralls -v
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> An intuitive PHP library to create a static Website.
[![Build Status](https://travis-ci.org/Narno/PHPoole-library.svg?branch=develop)](https://travis-ci.org/Narno/PHPoole-library)
[![Code Coverage](https://scrutinizer-ci.com/g/Narno/PHPoole-library/badges/coverage.png?b=develop)](https://scrutinizer-ci.com/g/Narno/PHPoole-library/?branch=develop)
[![Coverage Status](https://coveralls.io/repos/github/Narno/PHPoole-library/badge.svg?branch=develop)](https://coveralls.io/github/Narno/PHPoole-library?branch=develop-coveralls)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Narno/PHPoole-library/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/Narno/PHPoole-library/?branch=develop)
[![Codacy Badge](https://api.codacy.com/project/badge/grade/adbaa5309cd749fc9e095ca47d347586)](https://www.codacy.com/app/Narno/PHPoole-library)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/f4c44315-d370-499e-8f61-d6d1ce0cadde/mini.png)](https://insight.sensiolabs.com/projects/f4c44315-d370-499e-8f61-d6d1ce0cadde)
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"dflydev/dot-access-configuration": "1.0.1"
},
"require-dev": {
"phpunit/phpunit": "4.8.*"
"phpunit/phpunit": "4.8.*",
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-4" : {
Expand Down
Loading

0 comments on commit 804a649

Please sign in to comment.