From 27d53ddf027ac909bc5ebfd509dc198621886cf5 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Mon, 16 Feb 2015 22:49:26 +0100 Subject: [PATCH] travis coveralls --- .travis.yml | 2 +- package.json | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 83b21d8..558fd15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,5 +9,5 @@ script: - "jshint *.js lib" after_script: - npm run-script build - - npm test + - npm run-script test-coveralls diff --git a/package.json b/package.json index 27f94d9..8f48f96 100644 --- a/package.json +++ b/package.json @@ -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",