1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00

Setup codacy coverage

This commit is contained in:
Juan Picado @jotadeveloper 2017-05-20 12:44:04 +02:00
parent abc40b8e8e
commit 1bdb651636
No known key found for this signature in database
GPG Key ID: 18AC54485952D158
2 changed files with 5 additions and 2 deletions

@ -5,4 +5,4 @@ node_js:
- '7'
sudo: false
script: npm install . && npm run test-travis
after_success: npm run coverage:coveralls && npm run coverage:codecov
after_success: npm run coverage:coveralls && npm run coverage:codecov && npm run coverage:codacy

@ -44,6 +44,7 @@
"devDependencies": {
"browserify": "^13.0.0",
"browserify-handlebars": "^1.0.0",
"codacy-coverage": "^2.0.2",
"codecov": "^2.2.0",
"coveralls": "^2.13.0",
"eslint": "^3.19.0",
@ -54,6 +55,7 @@
"grunt-contrib-less": "^1.3.0",
"grunt-contrib-watch": "^1.0.0",
"mocha": "^3.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^10.1.2",
"onclick": "^0.1.0",
"rimraf": "^2.5.2",
@ -74,6 +76,7 @@
"test:coverage": "nyc mocha -R spec ./test/functional ./test/unit",
"coverage:coveralls": "nyc report --reporter=text-lcov | coveralls",
"coverage:codecov": "nyc report --reporter=lcov | codecov",
"coverage:codacy": "nyc report --reporter=lcov && cat coverage/lcov.info | codacy-coverage",
"test-travis": "npm run lint && npm run test:coverage",
"test-only": "mocha ./test/functional ./test/unit",
"lint": "eslint .",
@ -82,7 +85,7 @@
},
"engines": {
"node": ">=4.6.1",
"npm" : ">=2.15.9"
"npm": ">=2.15.9"
},
"preferGlobal": true,
"publishConfig": {