use spec reporter for unit tests in ci

This commit is contained in:
spalger
2015-08-04 03:46:43 -07:00
parent fbfe9f98b3
commit 66c95a0eb9
2 changed files with 8 additions and 1 deletions

View File

@ -14,6 +14,13 @@ var config = {
}
},
ci_unit: {
src: 'test/unit/index.js',
options: {
reporter: 'spec'
}
},
jenkins_unit: {
src: 'test/unit/index.js',
options: {

View File

@ -38,7 +38,7 @@ var taskOut; // task output stream
task('NODE_UNIT', true, function () {
if (!JENKINS) {
return grunt('jshint', 'mochacov:unit');
return grunt('jshint', 'mochacov:ci_unit');
}
return grunt('mochacov:jenkins_unit');