Skip to content

Commit

Permalink
Added coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant committed Feb 16, 2017
1 parent 22b408e commit 7c8f281
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ deploy:
api_key: $NPM_KEY
skip_cleanup: true
on:
branch: master
branch: master
after_script: npm run cicoverage | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# futil
# futil
[![Greenkeeper badge](https://badges.greenkeeper.io/smartprocure/futil-js.svg)](https://greenkeeper.io/)
[![npm version](https://badge.fury.io/js/futil-js.svg)](https://badge.fury.io/js/futil-js)
![dependencies](https://david-dm.org/smartprocure/futil-js.svg)
[![Code Climate](https://codeclimate.com/github/smartprocure/futil-js/badges/gpa.svg)](https://codeclimate.com/github/smartprocure/futil-js)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/1302fe4c3f0447be9d5dbd00f9baa12f)](https://www.codacy.com/app/daedalus28/futil-js?utm_source=github.com&utm_medium=referral&utm_content=smartprocure/futil-js&utm_campaign=Badge_Grade)
[![Coverage Status](https://coveralls.io/repos/github/smartprocure/futil-js/badge.svg?branch=feature%2Fcoverallsio)](https://coveralls.io/github/smartprocure/futil-js?branch=feature%2Fcoverallsio)

A collection of F(unctional) Util(ities). Resistance is futile.

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"test": "mocha",
"test:watch": "chokidar 'src/*.js' 'test/*.js' -c 'npm t'",
"coverage": "babel-node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha",
"cicoverage": "babel-node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info",
"pretest": "npm run build",
"precoverage": "npm run build"
},
Expand All @@ -30,8 +31,10 @@
"chai": "^3.5.0",
"chokidar": "^1.6.1",
"chokidar-cli": "^1.2.0",
"coveralls": "^2.11.16",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"mocha-lcov-reporter": "^1.2.0",
"webpack": "^2.2.1"
},
"directories": {
Expand Down

0 comments on commit 7c8f281

Please sign in to comment.