Skip to content

Commit

Permalink
dass bißchen code-coverage ist doch kein problem - sagt mei frau
Browse files Browse the repository at this point in the history
  • Loading branch information
pscheit committed Oct 25, 2013
1 parent 812c5ad commit 49077d4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# for php-coveralls
service_name: travis-ci
src_dir: lib
coverage_clover: build/logs/clover.xml
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ before_install:
- composer self-update
- COMPOSER_ROOT_VERSION=dev-master composer install --dev --prefer-source --no-interaction

script: phpunit
script: phpunit --coverage-clover build/logs/clover.xml

after_script:
- php vendor/bin/coveralls -v

notifications:
hipchat: 1fbdbbbaa517c485f935a6d72f1110@ps-webforge
Expand Down
6 changes: 6 additions & 0 deletions bin/compile-test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

require dirname(__DIR__).DIRECTORY_SEPARATOR.'bootstrap.php';

$compiler = new Webforge\Process\Phar\Compiler();
$compiler->compile(__DIR__.DIRECTORY_SEPARATOR.'webforge-process.phar', 'webforge-process.phar');
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"webforge/testplate": ">=1.3",
"symfony/console":"2.3.*@stable",
"symfony/finder":"2.3.*@stable",
"mockery/mockery": "0.8.*@stable"
"mockery/mockery": "0.8.*@stable",
"satooshi/php-coveralls": "dev-master"
},
"autoload":{
"psr-0":{
Expand Down

0 comments on commit 49077d4

Please sign in to comment.