From 339f565b024d3a58c5c7359f75170831b0f2a0ba Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Tue, 17 Feb 2015 08:59:19 +0100 Subject: [PATCH] travis coveralls --- .gitignore | 1 + package.json | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 399b6dc..c2dd6b8 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ # git config --global core.excludesfile ~/.gitignore_global *.swp +/coverage /tmp */**/*un~ *un~ diff --git a/package.json b/package.json index 8f48f96..ee84d02 100644 --- a/package.json +++ b/package.json @@ -28,14 +28,15 @@ "vinyl-source-stream": "^1.0.0", "mocha": ">=2.1.0", "coveralls": "^2.11.2", - "mocha-lcov-reporter": "0.0.1" + "mocha-lcov-reporter": "0.0.1", + "istanbul": "^0.3.5" }, "scripts": { "build": "gulp", "watch": "gulp watch", "lint": "gulp lint", "test": "mocha", - "test-coveralls": "mocha -R mocha-lcov-reporter | coveralls" + "test-coveralls": "istanbul cover _mocha -- -R spec && cat coverage/lcov.info | ./node_modules/.bin/coveralls --verbose" }, "repository": { "type": "git",