Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Send coverage to coveralls by separate command
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Jul 31, 2017
1 parent 11e04f9 commit 1fff6e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ node('lisk-nano-01'){
# Run test
cd $WORKSPACE
npm run test
cat "coverage/Chrome 58.0.3029 (Linux 0.0.0)/lcov.info" | coveralls -v
'''
} catch (err) {
currentBuild.result = 'FAILURE'
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = function (config) {
preprocessors: {
[fileGlob]: ['webpack'],
},
reporters: ['coverage', 'mocha'].concat(onJenkins ? ['coveralls'] : []),
reporters: ['coverage', 'mocha'],
coverageReporter: {
reporters: [
{
Expand Down

0 comments on commit 1fff6e2

Please sign in to comment.