[Build] Enforce code coverage threshold

Addresses #672
This commit is contained in:
Victor Woeltjen 2016-03-03 17:14:04 -08:00
parent 7e60593501
commit 18167eddf8

View File

@ -81,7 +81,12 @@ module.exports = function(config) {
coverageReporter: {
dir: process.env.CIRCLE_ARTIFACTS ?
process.env.CIRCLE_ARTIFACTS + '/coverage' :
"dist/coverage"
"dist/coverage",
check: {
global: {
lines: 80
}
}
},
// HTML test reporting.