Skip to content

Commit

Permalink
Extra Scrutiny
Browse files Browse the repository at this point in the history
  • Loading branch information
tsowerby committed Apr 11, 2014
1 parent 890bdf9 commit 9128718
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tools:
external_code_coverage: true
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ before_script:
- composer require guzzle/http:${GUZZLE_VERSION} --no-update
- composer install -n --dev --prefer-source

script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
script:
- vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml

after_script:
- vendor/bin/coveralls -v
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"omnipay/common": "~2.0"
},
"require-dev": {
"omnipay/tests": "~2.0"
"omnipay/tests": "~2.0",
"satooshi/php-coveralls": "dev-master"
},
"extra": {
"branch-alias": {
Expand Down

0 comments on commit 9128718

Please sign in to comment.