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

Commit

Permalink
Merge pull request #537 from LiskHQ/276-fix-coveralls
Browse files Browse the repository at this point in the history
Fix coverage reports - Closes #276
  • Loading branch information
slaweet authored Jul 31, 2017
2 parents 11e04f9 + 41e3c6c commit 5ee807a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ node('lisk-nano-01'){
# Run test
cd $WORKSPACE
npm run test
# Submit coverage to coveralls
cat coverage/*/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
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"karma-chai": "=0.1.0",
"karma-chrome-launcher": "=2.0.0",
"karma-coverage": "=1.1.1",
"karma-coveralls": "=1.1.2",
"karma-jenkins-reporter": "0.0.2",
"karma-mocha": "=1.3.0",
"karma-mocha-reporter": "=2.2.3",
Expand Down

0 comments on commit 5ee807a

Please sign in to comment.