Support coverage
This commit is contained in:
Родитель
fade01a188
Коммит
3dcc703048
|
@ -13,4 +13,5 @@ results
|
|||
|
||||
npm-debug.log
|
||||
node_modules
|
||||
coverage
|
||||
docs
|
||||
|
|
|
@ -3,9 +3,13 @@ node_js:
|
|||
- "0.12"
|
||||
- "0.10"
|
||||
- "0.8"
|
||||
|
||||
after_script:
|
||||
- npm run coveralls
|
||||
|
||||
install:
|
||||
- npm install -g npm@1.4.23
|
||||
- npm --version
|
||||
- npm install
|
||||
|
||||
|
||||
sudo: false
|
13
package.json
13
package.json
|
@ -20,7 +20,7 @@
|
|||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"extend": "~1.2.1",
|
||||
"mime": "~1.2.4",
|
||||
"browserify-mime": "~1.2.9",
|
||||
"node-uuid": "~1.4.0",
|
||||
"readable-stream": "~1.0.0",
|
||||
"request": "~2.57.0",
|
||||
|
@ -30,6 +30,8 @@
|
|||
"xmlbuilder": "0.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browserify-fs": "^1.0.0",
|
||||
"coveralls": "^2.11.4",
|
||||
"grunt": "~0.4.2",
|
||||
"grunt-contrib-jshint": "~0.11.0",
|
||||
"grunt-devserver": "^0.6.0",
|
||||
|
@ -37,12 +39,17 @@
|
|||
"grunt-mocha": "^0.4.12",
|
||||
"grunt-mocha-test": "^0.12.7",
|
||||
"grunt-nsp-package": "0.0.5",
|
||||
"istanbul": "^0.3.22",
|
||||
"jshint": ">= 2.1.4",
|
||||
"mocha": ">= 1.18.0",
|
||||
"mocha-lcov-reporter": "^1.0.0",
|
||||
"nock": "0.16",
|
||||
"nsp": "^1.0.1",
|
||||
"should": "1.2.x"
|
||||
},
|
||||
"browser": {
|
||||
"fs": "browserify-fs"
|
||||
},
|
||||
"homepage": "http://github.com/Azure/azure-storage-node",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -53,6 +60,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"check": "jshint lib",
|
||||
"test": "jshint lib & mocha --no-timeouts --recursive test"
|
||||
"test": "jshint lib && mocha --no-timeouts --recursive test",
|
||||
"cover": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec -u bdd --no-timeouts --recursive test",
|
||||
"coveralls": "npm run cover && cat ./coverage/lcov.info | node ./node_modules/coveralls/bin/coveralls.js"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче