Skip to content

Commit

Permalink
Adds configuration for coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Manderson committed Sep 9, 2014
1 parent 883dec9 commit 07bc3b1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ composer.phar
vendor/
composer.lock
coverage/
build/

# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev

after_script:
- php vendor/bin/coveralls

script: phpunit

notifications:
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"psr/log" : "*"
},
"require-dev": {
"phpunit/phpunit": "~4.1"
"phpunit/phpunit": "~4.1",
"satooshi/php-coveralls": "dev-master"
},
"suggest": {
},
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<log type="coverage-html" target="coverage" charset="UTF-8"
yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>

</phpunit>

0 comments on commit 07bc3b1

Please sign in to comment.