Skip to content

Commit 4baa247

Browse files
committed
fix(ci): add lcov reporting for coveralls
1 parent c5a2bd4 commit 4baa247

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ module.exports = function (config) {
1717
useIframe: false // launch in a new windows instead of iframe so nodeIntegration will work.
1818
},
1919
coverageIstanbulReporter: {
20-
reports: [ 'html', 'lcovonly' ],
20+
reports: [ 'text-summary' ],
2121
fixWebpackSourcePaths: true
2222
},
2323
angularCli: {
2424
environment: 'dev'
2525
},
26-
reporters: ['progress', 'kjhtml'],
26+
reporters: ['progress', 'kjhtml', 'coverage-istanbul'],
2727
port: 9876,
2828
colors: true,
2929
logLevel: config.LOG_INFO,

travis.karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ module.exports = function (config) {
77
// travis-ci specific overrides.
88
config.set({
99
coverageIstanbulReporter: {
10-
reports: ['lcovonly'],
10+
reports: ['lcovonly', 'text-summary'],
1111
fixWebpackSourcePaths: true
1212
},
1313
angularCli: {
1414
environment: 'dev'
1515
},
16-
reporters: ['progress'],
16+
reporters: ['progress', 'coverage-istanbul'],
1717
port: 9876,
1818
logLevel: config.LOG_INFO,
1919
autoWatch: false,

0 commit comments

Comments
 (0)