Skip to content

Commit

Permalink
Coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
deadratfink committed Mar 29, 2016
1 parent 88f052d commit 8242787
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 12 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -14,6 +14,7 @@ node_js:
- "iojs"
after_success:
- ./bin/codecov -e TRAVIS_NODE_VERSION
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js --verbose
# whitelist
branches:
only:
Expand Down
21 changes: 15 additions & 6 deletions README.md
Expand Up @@ -4,14 +4,14 @@
| --- | --- | --- | --- |
| [![License][gh-license-image]][gh-license-url] | [![Issue Stats][gh-issues-image]][gh-issues-url] | [![Github Releases][gh-releases-image]][gh-releases-url] | [![Github Tags][gh-tags-image]][gh-tags-url] |

| [Travis CI](https://travis-ci.org) | [Issue Stats](http://issuestats.com/) (Pull) | [Issue Stats](http://issuestats.com/) (Issue) | [Waffle](https://waffle.io/deadratfink/jy-transform) (In Ready) | [Code Climate](https://codeclimate.com/github/deadratfink/jy-transform) |
| [Travis CI](https://travis-ci.org) | [Issue Stats](http://issuestats.com/) (Pull) | [Issue Stats](http://issuestats.com/) (Issue) | [Waffle](https://waffle.io/deadratfink/jy-transform) | [Code Climate](https://codeclimate.com/github/deadratfink/jy-transform) |
| --- | --- | --- | --- | --- |
| [![Build Status][ci-image]][ci-url] | [![Issue Stats][is-pull-image]][is-url] | [![Issue Stats][is-issue-image]][is-url] | [![Waffle][waffle-image]][waffle-url] | [![Code Climate][cocl-image]][cocl-url] |

| [Codecov](https://codecov.io) | [Inch CI](http://inch-ci.org) | [David](https://david-dm.org) DM | [David](https://david-dm.org) DM (dev) | Branch |
| --- | --- | --- | --- | --- |
| [![codecov.io][cc-image-master]][cc-url-master] | [![inch-ci.org][inch-image-master]][inch-url-master] | [![Dependency Status][dep-image-master]][dep-url-master] | [![devDependency Status][devdep-image-master]][devdep-url-master] | master |
| [![codecov.io][cc-image-development]][cc-url-development] | [![inch-ci.org][inch-image-development]][inch-url-development] | [![Dependency Status][dep-image-development]][dep-url-development] | [![devDependency Status][devdep-image-development]][devdep-url-development] | development |
| [Codecov](https://codecov.io) | [Coveralls](https://coveralls.io) | [Inch CI](http://inch-ci.org) | [David](https://david-dm.org) DM | [David](https://david-dm.org) DM (dev) | Branch |
| --- | --- | --- | --- | --- | --- |
| [![codecov.io][cc-image-master]][cc-url-master] | [![coveralls.io][ca-image-master]][ca-url-master] | [![inch-ci.org][inch-image-master]][inch-url-master] | [![Dependency Status][dep-image-master]][dep-url-master] | [![devDependency Status][devdep-image-master]][devdep-url-master] | master |
| [![codecov.io][cc-image-development]][cc-url-development] | [![coveralls.io][ca-image-development]][ca-url-development] | [![inch-ci.org][inch-image-development]][inch-url-development] | [![Dependency Status][dep-image-development]][dep-url-development] | [![devDependency Status][devdep-image-development]][devdep-url-development] | development |

## Coverage Graphs

Expand Down Expand Up @@ -53,6 +53,14 @@
[cc-image-development]: https://img.shields.io/codecov/c/github/deadratfink/jy-transform/development.svg?style=flat-square
[cc-url-development]: https://codecov.io/github/deadratfink/jy-transform?branch=development

[ca-image-master]: https://img.shields.io/coveralls/deadratfink/jy-transform/master.svg?style=flat-square
[ca-url-master]: https://coveralls.io/github/deadratfink/jy-transform?branch=master
[ca-image-development]: https://img.shields.io/coveralls/deadratfink/jy-transform/development.svg?style=flat-square
[ca-url-development]: https://coveralls.io/github/deadratfink/jy-transform?branch=development

https://img.shields.io/coveralls/deadratfink/jy-transform/master.svg


[inch-image-master]: https://inch-ci.org/github/deadratfink/jy-transform.svg?branch=master&style=flat-square
[inch-url-master]: https://inch-ci.org/github/deadratfink/jy-transform?branch=master
[inch-image-development]: https://inch-ci.org/github/deadratfink/jy-transform.svg?branch=development&style=flat-square
Expand Down Expand Up @@ -135,6 +143,7 @@ npm test
## Dev Dependencies

- [codecov](https://github.com/codecov/codecov-node): Uploading report to Codecov: https://codecov.io
- [coveralls](https://github.com/nickmerwin/node-coveralls): takes json-cov output into stdin and POSTs to coveralls.io
- [doctoc](https://github.com/thlorenz/doctoc): Generates TOC for markdown files of local git repo.
- [fs-extra](https://github.com/jprichardson/node-fs-extra): fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
- [istanbul](https://github.com/gotwarlost/istanbul): Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests
Expand Down Expand Up @@ -198,7 +207,7 @@ in feature [#14](https://github.com/deadratfink/jy-transform/issues/14).
# Usage

The module can bu used on CLI or as API. The latter is fully [Promise](http://bluebirdjs.com/docs/api-reference.html)
based. Besides transformation this module can also be used for laoding and/or writing
based. Besides transformation this module can also be used for loading and/or writing
YAML, JS or JSON files.

## Usage Types
Expand Down
18 changes: 13 additions & 5 deletions docs/BADGES.md
Expand Up @@ -4,14 +4,14 @@
| --- | --- | --- | --- |
| [![License][gh-license-image]][gh-license-url] | [![Issue Stats][gh-issues-image]][gh-issues-url] | [![Github Releases][gh-releases-image]][gh-releases-url] | [![Github Tags][gh-tags-image]][gh-tags-url] |

| [Travis CI](https://travis-ci.org) | [Issue Stats](http://issuestats.com/) (Pull) | [Issue Stats](http://issuestats.com/) (Issue) | [Waffle](https://waffle.io/deadratfink/jy-transform) (In Ready) | [Code Climate](https://codeclimate.com/github/deadratfink/jy-transform) |
| [Travis CI](https://travis-ci.org) | [Issue Stats](http://issuestats.com/) (Pull) | [Issue Stats](http://issuestats.com/) (Issue) | [Waffle](https://waffle.io/deadratfink/jy-transform) | [Code Climate](https://codeclimate.com/github/deadratfink/jy-transform) |
| --- | --- | --- | --- | --- |
| [![Build Status][ci-image]][ci-url] | [![Issue Stats][is-pull-image]][is-url] | [![Issue Stats][is-issue-image]][is-url] | [![Waffle][waffle-image]][waffle-url] | [![Code Climate][cocl-image]][cocl-url] |

| [Codecov](https://codecov.io) | [Inch CI](http://inch-ci.org) | [David](https://david-dm.org) DM | [David](https://david-dm.org) DM (dev) | Branch |
| --- | --- | --- | --- | --- |
| [![codecov.io][cc-image-master]][cc-url-master] | [![inch-ci.org][inch-image-master]][inch-url-master] | [![Dependency Status][dep-image-master]][dep-url-master] | [![devDependency Status][devdep-image-master]][devdep-url-master] | master |
| [![codecov.io][cc-image-development]][cc-url-development] | [![inch-ci.org][inch-image-development]][inch-url-development] | [![Dependency Status][dep-image-development]][dep-url-development] | [![devDependency Status][devdep-image-development]][devdep-url-development] | development |
| [Codecov](https://codecov.io) | [Coveralls](https://coveralls.io) | [Inch CI](http://inch-ci.org) | [David](https://david-dm.org) DM | [David](https://david-dm.org) DM (dev) | Branch |
| --- | --- | --- | --- | --- | --- |
| [![codecov.io][cc-image-master]][cc-url-master] | [![coveralls.io][ca-image-master]][ca-url-master] | [![inch-ci.org][inch-image-master]][inch-url-master] | [![Dependency Status][dep-image-master]][dep-url-master] | [![devDependency Status][devdep-image-master]][devdep-url-master] | master |
| [![codecov.io][cc-image-development]][cc-url-development] | [![coveralls.io][ca-image-development]][ca-url-development] | [![inch-ci.org][inch-image-development]][inch-url-development] | [![Dependency Status][dep-image-development]][dep-url-development] | [![devDependency Status][devdep-image-development]][devdep-url-development] | development |

## Coverage Graphs

Expand Down Expand Up @@ -53,6 +53,14 @@
[cc-image-development]: https://img.shields.io/codecov/c/github/deadratfink/jy-transform/development.svg?style=flat-square
[cc-url-development]: https://codecov.io/github/deadratfink/jy-transform?branch=development

[ca-image-master]: https://img.shields.io/coveralls/deadratfink/jy-transform/master.svg?style=flat-square
[ca-url-master]: https://coveralls.io/github/deadratfink/jy-transform?branch=master
[ca-image-development]: https://img.shields.io/coveralls/deadratfink/jy-transform/development.svg?style=flat-square
[ca-url-development]: https://coveralls.io/github/deadratfink/jy-transform?branch=development

https://img.shields.io/coveralls/deadratfink/jy-transform/master.svg


[inch-image-master]: https://inch-ci.org/github/deadratfink/jy-transform.svg?branch=master&style=flat-square
[inch-url-master]: https://inch-ci.org/github/deadratfink/jy-transform?branch=master
[inch-image-development]: https://inch-ci.org/github/deadratfink/jy-transform.svg?branch=development&style=flat-square
Expand Down
2 changes: 1 addition & 1 deletion docs/USAGE.md
Expand Up @@ -45,7 +45,7 @@ in feature [#14](https://github.com/deadratfink/jy-transform/issues/14).
# Usage

The module can bu used on CLI or as API. The latter is fully [Promise](http://bluebirdjs.com/docs/api-reference.html)
based. Besides transformation this module can also be used for laoding and/or writing
based. Besides transformation this module can also be used for loading and/or writing
YAML, JS or JSON files.

## Usage Types
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -52,6 +52,7 @@
},
"devDependencies": {
"codecov": "^1.0.1",
"coveralls": "^2.11.9",
"doctoc": "^1.0.0",
"fs-extra": "^0.26.7",
"istanbul": "^0.4.2",
Expand Down

0 comments on commit 8242787

Please sign in to comment.