Skip to content

Commit

Permalink
Enable publication of code coverage to coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgaillard committed Jun 13, 2015
1 parent 2a6ce22 commit 8c406c2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
16 changes: 15 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ module.exports = function(grunt) {
*/
clean : ['tmp/**/*'],

/**
* Coveralls Task.
*/
coveralls: {
options: {
src: 'reports/coverage/lcov.info',
force: false
},
'default': {
src: 'reports/coverage/lcov.info'
}
},

/**
* Instrument Task.
*/
Expand Down Expand Up @@ -199,7 +212,8 @@ module.exports = function(grunt) {
'instrument',
'mochaTest',
'storeCoverage',
'makeReport'
'makeReport',
'coveralls'
]
);

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"keywords": [
"backbone",
"marionette",
"marionette",
"hal",
"hateoas",
"REST",
Expand Down Expand Up @@ -42,6 +42,7 @@
"grunt-contrib-clean": "~0.6",
"grunt-contrib-jshint": "~0.11",
"grunt-contrib-uglify": "~0.8",
"grunt-coveralls": "^1.0.0",
"grunt-istanbul": "~0.5",
"grunt-jsdoc": "~0.5",
"grunt-mocha-test": "~0.12",
Expand Down

0 comments on commit 8c406c2

Please sign in to comment.