Skip to content
This repository has been archived by the owner on Sep 29, 2018. It is now read-only.

Commit

Permalink
Enable coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyfarrell committed Nov 26, 2017
1 parent c320c1f commit 3ecf92f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
language: node_js

node_js:
- 8
- 9

before_script:
- npm install -g coveralls

script:
- npm test
- npm run report-coverage
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# @cfware/promisify-proxy

[![Travis CI][travis-image]][travis-url]
[![Coverage Status][coverage-image]][coverage-url]
[![Greenkeeper badge](https://badges.greenkeeper.io/cfware/promisify-proxy.svg)](https://greenkeeper.io/)
[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
Expand All @@ -10,6 +11,8 @@ ES6 Proxy object for promisifying selected members of an object.

### Install @cfware/promisify-proxy

This module requires node.js 8 or above.

```sh
npm i --save @cfware/promisify-proxy
```
Expand Down Expand Up @@ -51,6 +54,8 @@ npm test
[npm-url]: https://npmjs.org/package/@cfware/promisify-proxy
[travis-image]: https://travis-ci.org/cfware/promisify-proxy.svg?branch=master
[travis-url]: https://travis-ci.org/cfware/promisify-proxy
[coverage-image]: https://coveralls.io/repos/github/cfware/promisify-proxy/badge.svg
[coverage-url]: https://coveralls.io/github/cfware/promisify-proxy
[downloads-image]: https://img.shields.io/npm/dm/@cfware/promisify-proxy.svg
[downloads-url]: https://npmjs.org/package/@cfware/promisify-proxy
[license-image]: https://img.shields.io/github/license/cfware/promisify-proxy.svg
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "ES6 Proxy object for promisifying selected members of an object.",
"main": "index.js",
"scripts": {
"test": "eslint *.js test/*.js && nyc mocha"
"test": "eslint *.js test/*.js && nyc mocha",
"report-coverage": "nyc report --reporter=text-lcov | coveralls"
},
"engines": {
"nodejs": ">=8"
Expand Down

0 comments on commit 3ecf92f

Please sign in to comment.