mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-30 05:48:00 +00:00
Travis coveralls
This commit is contained in:
parent
ddc9032e41
commit
e9ec46a2de
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
||||
node_modules
|
||||
coverage/
|
||||
npm-debug.log
|
||||
|
@ -1 +1,3 @@
|
||||
language: node_js
|
||||
after_success:
|
||||
- npm run test-cov
|
||||
|
@ -14,7 +14,8 @@
|
||||
"bot"
|
||||
],
|
||||
"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>",
|
||||
"license": "MIT",
|
||||
@ -24,7 +25,10 @@
|
||||
"request": "^2.58.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"coveralls": "^2.11.2",
|
||||
"istanbul": "^0.3.17",
|
||||
"mocha": "^2.2.5",
|
||||
"mocha-lcov-reporter": "0.0.2",
|
||||
"should": "^7.0.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user