Skip to content

Commit 91774a7

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

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ script:
2424
- "commitlint-travis"
2525
- "npm run lint"
2626
- "npm run test-travis"
27-
- "cat ./reports/coverage/lcov.info | ./node_modules/.bin/coveralls"
27+
- "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
2828

2929
sudo: false

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)