Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Jun 16, 2014
1 parent 04595e1 commit 72e79e2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
language: node_js
script:
- npm install
- npm test
- npm run cov
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/mapbox/tokml.png)](https://travis-ci.org/mapbox/tokml)
[![Build Status](https://travis-ci.org/mapbox/tokml.png)](https://travis-ci.org/mapbox/tokml) [![Coverage Status](https://coveralls.io/repos/mapbox/tokml/badge.png)](https://coveralls.io/r/mapbox/tokml)

# tokml

Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "convert geojson to kml",
"main": "index.js",
"scripts": {
"test": "tap test/*.js"
"test": "tap test/*.js",
"cov": "istanbul cover test/kml.test.js && coveralls < ./coverage/lcov.info"
},
"repository": {
"type": "git",
Expand All @@ -26,7 +27,9 @@
"corslite": "0.0.5",
"filesaver.js": "~2013.1.23",
"tap": "~0.4.8",
"fuzzer": "0.0.0"
"fuzzer": "0.0.0",
"coveralls": "~2.10.0",
"istanbul": "~0.2.11"
},
"dependencies": {
"minimist": "0.0.5",
Expand Down

0 comments on commit 72e79e2

Please sign in to comment.