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" - "jshint *.js lib"
after_script: after_script:
- npm run-script build - npm run-script build
- npm test - npm run-script test-coveralls

View File

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