Skip to content

Commit

Permalink
Switch to Codecov
Browse files Browse the repository at this point in the history
Fixes #186.
  • Loading branch information
TimothyGu committed Oct 15, 2016
1 parent e67b3a8 commit 8f3e886
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Expand Up @@ -29,6 +29,3 @@ node_modules

# OS files
.DS_Store

# Coveralls token files
.coveralls.yml
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -4,7 +4,7 @@ node-fetch

[![npm version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![coverage status][coveralls-image]][coveralls-url]
[![coverage status][codecov-image]][codecov-url]

A light-weight module that brings `window.fetch` to Node.js

Expand Down Expand Up @@ -220,5 +220,5 @@ Thanks to [github/fetch](https://github.com/github/fetch) for providing a solid
[npm-url]: https://www.npmjs.com/package/node-fetch
[travis-image]: https://img.shields.io/travis/bitinn/node-fetch.svg?style=flat-square
[travis-url]: https://travis-ci.org/bitinn/node-fetch
[coveralls-image]: https://img.shields.io/coveralls/bitinn/node-fetch.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/bitinn/node-fetch
[codecov-image]: https://img.shields.io/codecov/c/github/bitinn/node-fetch.svg?style=flat-square
[codecov-url]: https://codecov.io/gh/bitinn/node-fetch
3 changes: 3 additions & 0 deletions codecov.yml
@@ -0,0 +1,3 @@
parsers:
javascript:
enable_partials: yes
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "mocha test/test.js",
"report": "istanbul cover _mocha -- -R spec test/test.js",
"coverage": "istanbul cover _mocha --report lcovonly -- -R spec test/test.js && cat ./coverage/lcov.info | coveralls"
"coverage": "istanbul cover _mocha --report lcovonly -- -R spec test/test.js && codecov -f coverage/coverage.json"
},
"repository": {
"type": "git",
Expand All @@ -27,7 +27,7 @@
"bluebird": "^3.3.4",
"chai": "^3.5.0",
"chai-as-promised": "^5.2.0",
"coveralls": "^2.11.2",
"codecov": "^1.0.1",
"form-data": ">=1.0.0",
"istanbul": "^0.4.2",
"mocha": "^2.1.0",
Expand Down

0 comments on commit 8f3e886

Please sign in to comment.