travis script that will download the latest build from a branch or a release based on the config it receives.
24 lines
427 B
JavaScript
24 lines
427 B
JavaScript
module.exports = function (grunt) {
|
|
|
|
// Default task runs the build process.
|
|
grunt.registerTask('default', [
|
|
'test'
|
|
]);
|
|
|
|
grunt.registerTask('test', [
|
|
'jshint',
|
|
'mochacov:unit',
|
|
'run:generate',
|
|
'mochacov:integration',
|
|
]);
|
|
|
|
grunt.registerTask('unit_test', [
|
|
'jshint',
|
|
'mochacov:unit'
|
|
]);
|
|
|
|
grunt.registerTask('coverage', [
|
|
'mochacov:make_coverage_html',
|
|
'open:coverage'
|
|
]);
|
|
}; |