Skip to content

Commit 112fc8b

Browse files
committed
Try to enable coveralls
1 parent 3ef55c6 commit 112fc8b

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ before_script:
77
- npm install -g grunt-cli
88
script:
99
- grunt test
10+
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

Gruntfile.coffee

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,10 @@ module.exports = (grunt) ->
169169
helpers: 'spec/*helper.js'
170170
template: require('grunt-template-jasmine-istanbul')
171171
templateOptions:
172-
report: 'coverage'
172+
report:
173+
type: 'lcovonly'
174+
options:
175+
dir: 'coverage'
173176
coverage: 'coverage/coverage.json'
174177
coffee:
175178
glob_to_multiple:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"grunt-contrib-uglify": "~0.6.0",
2626
"grunt-contrib-coffee": "~0.12.0",
2727
"grunt-contrib-jshint": "~0.10.0",
28+
"coveralls": "~2.11.0",
2829
"grunt-contrib-jasmine": "~0.8.0",
2930
"grunt-template-jasmine-istanbul": "~0.3.0",
3031
"load-grunt-tasks": "~0.6.0"

0 commit comments

Comments
 (0)