mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-30 13:58:27 +00:00
Travis coveralls
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
node_modules
|
node_modules
|
||||||
|
coverage/
|
||||||
|
npm-debug.log
|
||||||
|
@@ -1 +1,3 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
|
after_success:
|
||||||
|
- npm run test-cov
|
||||||
|
@@ -14,7 +14,8 @@
|
|||||||
"bot"
|
"bot"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/.bin/mocha test/index.js"
|
"test": "./node_modules/.bin/mocha test/index.js",
|
||||||
|
"test-cov": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
|
||||||
},
|
},
|
||||||
"author": "Yago Pérez <yagoperezs@gmail.com>",
|
"author": "Yago Pérez <yagoperezs@gmail.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -24,7 +25,10 @@
|
|||||||
"request": "^2.58.0"
|
"request": "^2.58.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"coveralls": "^2.11.2",
|
||||||
|
"istanbul": "^0.3.17",
|
||||||
"mocha": "^2.2.5",
|
"mocha": "^2.2.5",
|
||||||
|
"mocha-lcov-reporter": "0.0.2",
|
||||||
"should": "^7.0.1"
|
"should": "^7.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user