Skip to content

Commit

Permalink
update coverage config for travis and scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul M. Jones committed Aug 28, 2014
1 parent 72286cc commit 3842154
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 25 deletions.
29 changes: 9 additions & 20 deletions .scrutinizer.yml
@@ -1,21 +1,10 @@
filter:
paths: ["src/*"]
tools:
php_code_coverage:
test_command: "phpunit -c tests/"
filter:
paths: ["src/*"]
php_sim:
enabled: true
filter:
paths: ["src/*"]
php_mess_detector:
enabled: true
filter:
paths: ["src/*"]
php_pdepend:
enabled: true
filter:
paths: ["src/*"]
php_analyzer:
enabled: true
filter:
paths: ["src/*"]
external_code_coverage: true
php_code_coverage: true
php_sim: true
php_mess_detector: true
php_pdepend: true
php_analyzer: true
php_cpd: true
12 changes: 9 additions & 3 deletions .travis.yml
Expand Up @@ -3,7 +3,13 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- cd tests
script: phpunit
script:
- phpunit -c tests/ --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
- email: true
- irc: "irc.freenode.org#auraphp"
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -16,8 +16,8 @@ Alternatively, [download a release](https://github.com/auraphp/Aura.SqlQuery/rel

### Quality

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/badges/quality-score.png?s=95a490d0ff9760e14248911c417244636594c359)](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/)
[![Code Coverage](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/badges/coverage.png?s=724fbb9acfeff7874cb112ac5355515e4cc40e0a)](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/badges/quality-score.png?b=develop-2)](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/)
[![Code Coverage](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/badges/coverage.png?b=develop-2)](https://scrutinizer-ci.com/g/auraphp/Aura.SqlQuery/)
[![Build Status](https://travis-ci.org/auraphp/Aura.SqlQuery.png?branch=develop-2)](https://travis-ci.org/auraphp/Aura.SqlQuery)

To run the [PHPUnit][] tests at the command line, go to the _tests_ directory and issue `phpunit`.
Expand Down

0 comments on commit 3842154

Please sign in to comment.