diff options
author | Michael Weibel <michael.weibel@gmail.com> | 2014-07-30 23:47:18 +0400 |
---|---|---|
committer | Michael Weibel <michael.weibel@gmail.com> | 2014-07-30 23:47:18 +0400 |
commit | d66e7d87f59328e11a2588e451831d1f60b9359c (patch) | |
tree | 77dbe1f1c5069ac1b02edda6651021520f2978f5 /Gruntfile.js | |
parent | 4f0d1ef8f4f17b5a0aca5395703e1156da78cc2f (diff) |
Add lcov output & send it to coveralls when building on travis
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 723bcd7..fe393fb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -170,6 +170,12 @@ module.exports = function(grunt) { suites: [] } } + }, + coveralls: { + options: { + src: 'lcov.info', + force: true // prevent from failing CI build if coveralls is down etc. + } } }); @@ -183,6 +189,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-sync-pkg'); grunt.loadNpmTasks('intern'); grunt.loadNpmTasks('grunt-clear'); + grunt.loadNpmTasks('grunt-coveralls'); grunt.registerTask('test', ['intern:all']); grunt.registerTask('default', [ |