Skip to content

Commit

Permalink
Added coveralls plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Damken committed Aug 10, 2016
1 parent 9191fee commit cf8b001
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,22 @@ module.exports = function (grunt) {
root: '<%= build.test.root %>'
}
}
},
coveralls: {
upload: {
src: 'coverage/lcov.info'
}
}
});

// Load tasks.
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-coveralls');
grunt.loadNpmTasks('grunt-mocha-istanbul');

// Build tasks.
grunt.registerTask('test', ['jshint', 'mocha_istanbul:coverage']);
grunt.registerTask('test-local', ['jshint', 'mocha_istanbul:coverage']);
grunt.registerTask('test', ['test-local', 'coveralls:upload']);
};

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Build Status: [![Build Status](https://travis-ci.org/fdamken/node-spig.svg?branch=master)](https://travis-ci.org/fdamken/node-spig)
Build Status (develop): [![Build Status (develop)](https://travis-ci.org/fdamken/node-spig.svg?branch=develop)](https://travis-ci.org/fdamken/node-spig)
[![Build Status](https://travis-ci.org/fdamken/node-spig.svg?branch=master)](https://travis-ci.org/fdamken/node-spig)



Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"grunt": "^1.0.1",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-jshint": "^1.0.0",
"grunt-coveralls": "^1.0.1",
"grunt-mocha-istanbul": "^5.0.2",
"istanbul": "^0.4.4",
"mocha": "^3.0.2"
Expand Down

0 comments on commit cf8b001

Please sign in to comment.