Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #42 from mikey179/master
Browse files Browse the repository at this point in the history
prepare coveralls
  • Loading branch information
mikey179 committed Nov 10, 2013
2 parents b25964b + 9699aed commit 44938ce
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
src_dir: src/main/php
coverage_clover: docs/phpunit/clover.xml
json_path: docs/phpunit/coveralls-upload.json
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ php:
before_script:
- "mkdir -p ~/.composer"
- cp .travis.composer.config.json ~/.composer/config.json
- composer install --dev
- composer self-update
- composer install
- composer require satooshi/php-coveralls:dev-master

script: vendor/bin/phpunit --coverage-text
script:
- vendor/bin/phpunit --coverage-text

after_script:
- vendor/bin/coveralls
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "Stubbles package to build command line apps.",
"require": {
"php": ">=5.3.0",
"stubbles/core": "~3.1",
"stubbles/core": "~3.2",
"stubbles/input": "~2.3"
},
"require-dev": {
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<filter>
<whitelist>
<directory>src/main/php/net/stubbles</directory>
<directory>src/main/php/org/stubbles/console/compiler</directory>
<directory>src/main/php/org/stubbles/console/scripts</directory>
</whitelist>
</filter>
Expand All @@ -34,6 +33,7 @@
<log type="coverage-html" target="docs/coverage" charset="UTF-8"
yui="true" highlight="false"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="docs/phpunit/clover.xml"/>
<log type="junit" target="docs/phpunit/junit.xml"/>
<log type="tap" target="docs/phpunit/tap.txt"/>
<log type="testdox-html" target="docs/phpunit/testdox.html"/>
Expand Down
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ Build status
------------

[![Build Status](https://secure.travis-ci.org/stubbles/stubbles-console.png)](http://travis-ci.org/stubbles/stubbles-console)
[![Coverage Status](https://coveralls.io/repos/stubbles/stubbles-console/badge.png?branch=master)](https://coveralls.io/r/stubbles/stubbles-console?branch=master)

[![Latest Stable Version](https://poser.pugx.org/stubbles/console/version.png)](https://packagist.org/packages/stubbles/console)
[![Latest Unstable Version](https://poser.pugx.org/stubbles/console/v/unstable.png)](//packagist.org/packages/stubbles/console)

0 comments on commit 44938ce

Please sign in to comment.