Switch to Codecov

Fixes #186.
This commit is contained in:
Timothy Gu 2016-10-13 00:32:52 -07:00
parent e67b3a8579
commit 8f3e886c7f
4 changed files with 8 additions and 8 deletions

3
.gitignore vendored
View File

@ -29,6 +29,3 @@ node_modules
# OS files
.DS_Store
# Coveralls token files
.coveralls.yml

View File

@ -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
@ -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
codecov.yml Normal file
View File

@ -0,0 +1,3 @@
parsers:
javascript:
enable_partials: yes

View File

@ -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",
@ -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",