Skip to content

Commit

Permalink
Added coveralls reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Jul 15, 2014
1 parent c5b3b23 commit 3fba9df
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-ci
repo_token: YUvUvg5uRuGp7fFXnWzgHNtgr8h0obkg0
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/node_modules
coverage
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ AssetGraph-sprite
[![NPM version](https://badge.fury.io/js/assetgraph-sprite.png)](http://badge.fury.io/js/assetgraph)
[![Build Status](https://travis-ci.org/assetgraph/assetgraph-sprite.png?branch=master)](https://travis-ci.org/assetgraph/assetgraph)
[![Dependency Status](https://david-dm.org/assetgraph/assetgraph-sprite.png)](https://david-dm.org/assetgraph/assetgraph)
[![Coverage Status](https://coveralls.io/repos/assetgraph/assetgraph-sprite/badge.png)](https://coveralls.io/r/assetgraph/assetgraph-sprite)

A plugin (or "transform") for <a
href="http://github.com/One-com/assetgraph">AssetGraph</a> that
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@
},
"devDependencies": {
"assetgraph": "=1.6.31",
"coveralls": "^2.11.1",
"istanbul": "^0.3.0",
"jshint": "=2.5.1",
"mocha": "=1.19.0",
"mocha-lcov-reporter": "0.0.1",
"unexpected": "=3.2.0",
"urltools": "=0.1.0"
},
Expand All @@ -39,7 +42,8 @@
"scripts": {
"lint": "jshint .",
"test": "npm run lint && mocha",
"travis": "npm run lint && mocha"
"travis": "npm run lint && NODE_ENV=development ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- --reporter dot && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"coverage": "NODE_ENV=development ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- --reporter dot"
},
"main": "lib/spriteBackgroundImages.js"
}

0 comments on commit 3fba9df

Please sign in to comment.