[Build] Normalize reporting for QA tasks

https://developer.nasa.gov/ResourceProspector/warp/issues/191
This commit is contained in:
Victor Woeltjen
2016-07-21 12:07:28 -07:00
parent 14f1a1f740
commit 41156cec7c
3 changed files with 9 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ module.exports = function(config) {
coverageReporter: {
dir: process.env.CIRCLE_ARTIFACTS ?
process.env.CIRCLE_ARTIFACTS + '/coverage' :
"dist/coverage",
"dist/reports/coverage",
check: {
global: {
lines: 80
@@ -91,13 +91,13 @@ module.exports = function(config) {
// HTML test reporting.
htmlReporter: {
outputDir: "target/tests",
outputDir: "dist/reports/tests",
preserveDescribeNesting: true,
foldAll: false
},
junitReporter: {
outputDir: process.env.CIRCLE_TEST_REPORTS || 'target/junit'
outputDir: process.env.CIRCLE_TEST_REPORTS || 'dist/reports/junit'
},
// Continuous Integration mode.