travis coveralls

This commit is contained in:
Marek Kotewicz 2015-02-16 22:49:26 +01:00
parent 001077e0b9
commit 27d53ddf02
2 changed files with 8 additions and 5 deletions

View File

@ -9,5 +9,5 @@ script:
- "jshint *.js lib"
after_script:
- npm run-script build
- npm test
- npm run-script test-coveralls

View File

@ -8,9 +8,9 @@
"lib": "./lib"
},
"dependencies": {
"bignumber.js": ">=2.0.0",
"ws": "*",
"xmlhttprequest": "*",
"bignumber.js": ">=2.0.0"
"xmlhttprequest": "*"
},
"devDependencies": {
"bower": ">=1.3.0",
@ -26,13 +26,16 @@
"uglifyify": "^2.6.0",
"unreachable-branch-transform": "^0.1.0",
"vinyl-source-stream": "^1.0.0",
"mocha": ">=2.1.0"
"mocha": ">=2.1.0",
"coveralls": "^2.11.2",
"mocha-lcov-reporter": "0.0.1"
},
"scripts": {
"build": "gulp",
"watch": "gulp watch",
"lint": "gulp lint",
"test": "mocha"
"test": "mocha",
"test-coveralls": "mocha -R mocha-lcov-reporter | coveralls"
},
"repository": {
"type": "git",