0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

set up coveralls

This commit is contained in:
Juan Picado 2017-04-27 04:37:56 +02:00
parent 472e8e94b0
commit ff7deb4712
No known key found for this signature in database
GPG key ID: 18AC54485952D158
2 changed files with 5 additions and 2 deletions

View file

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

View file

@ -44,6 +44,7 @@
"devDependencies": {
"browserify": "^13.0.0",
"browserify-handlebars": "^1.0.0",
"coveralls": "^2.13.0",
"eslint": "^3.19.0",
"eslint-config-google": "^0.7.1",
"grunt": "^1.0.1",
@ -69,7 +70,8 @@
],
"scripts": {
"test": "npm run lint && mocha ./test/functional ./test/unit",
"test:coverage": "nyc --reporter=html --reporter=text mocha -R spec ./test/functional ./test/unit",
"test:coverage": "nyc mocha -R spec ./test/functional ./test/unit",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"test-travis": "npm run lint && npm run test:coverage",
"test-only": "mocha ./test/functional ./test/unit",
"lint": "eslint .",