From a0d6ee6e142e42082470d3bc3312a80cb57532c1 Mon Sep 17 00:00:00 2001 From: Wyatt Preul Date: Thu, 4 Sep 2014 14:21:01 -0500 Subject: Adding instructions on using lab with coveralls --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 2f29946..d848603 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,12 @@ Client-side JS code coverage using [PhantomJS](https://github.com/ariya/phantomj ./node_modules/.bin/poncho -R lcov test/test.html | ./node_modules/coveralls/bin/coveralls.js ``` +### [Lab](https://github.com/hapijs/lab) +```sh +lab -r lcov | ./node_modules/coveralls/bin/coveralls.js +``` + + ## Running locally If you're running locally, you must have a `.coveralls.yml` file, as documented in [their documentation](https://coveralls.io/docs/ruby), with your `repo_token` in it; or, you must provide a `COVERALLS_REPO_TOKEN` environment-variable on the command-line. -- cgit v1.2.3 From e59c416a9e528afaf62fbd9f337aa51d8b6cf6c2 Mon Sep 17 00:00:00 2001 From: Wyatt Preul Date: Thu, 4 Sep 2014 14:21:57 -0500 Subject: Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d848603..3223f42 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ Client-side JS code coverage using [PhantomJS](https://github.com/ariya/phantomj ### [Lab](https://github.com/hapijs/lab) ```sh -lab -r lcov | ./node_modules/coveralls/bin/coveralls.js +lab -r lcov | ./node_modules/.bin/coveralls ``` -- cgit v1.2.3