Browse Source

add coverage

http2
Vsevolod Strukchinsky 9 years ago
parent
commit
a5d1084bd5
  1. 1
      .travis.yml
  2. 5
      package.json
  3. 2
      readme.md

1
.travis.yml

@ -4,3 +4,4 @@ node_js:
- 'stable'
- '0.12'
- '0.10'
after_success: npm run coveralls

5
package.json

@ -23,7 +23,8 @@
"unzip-response": false
},
"scripts": {
"test": "xo && ava"
"test": "xo && ava",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"files": [
"index.js"
@ -61,7 +62,9 @@
},
"devDependencies": {
"ava": "^0.2.0",
"coveralls": "^2.11.4",
"into-stream": "^2.0.0",
"nyc": "^3.2.2",
"pem": "^1.4.4",
"pify": "^2.2.0",
"tempfile": "^1.1.1",

2
readme.md

@ -8,7 +8,7 @@
> Simplified HTTP/HTTPS requests
[![Build Status](https://travis-ci.org/sindresorhus/got.svg?branch=master)](https://travis-ci.org/sindresorhus/got)
[![Build Status](https://travis-ci.org/sindresorhus/got.svg?branch=master)](https://travis-ci.org/sindresorhus/got) [![Coverage Status](https://coveralls.io/repos/sindresorhus/got/badge.svg?branch=master&service=github)](https://coveralls.io/github/sindresorhus/got?branch=master)
A nicer interface to the built-in [`http`](http://nodejs.org/api/http.html) module.

Loading…
Cancel
Save