From edbaff8c3b6af18ce3768d4f2bbb196ca595b65a Mon Sep 17 00:00:00 2001 From: hzhu Date: Wed, 4 Jan 2017 23:12:50 -0800 Subject: [PATCH] Added Coveralls badge. --- README.md | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f65250..7666abd 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ A set of recursion problems to be solved (solutions included). [![Build Status](https://img.shields.io/snap-ci/hzhu/recursion-joy/master.svg?style=flat-square)](https://snap-ci.com/hzhu/recursion-joy/branch/master) +[![Coverage Status](https://img.shields.io/coveralls/hzhu/recursion-joy.svg?style=flat-square)](https://coveralls.io/github/hzhu/recursion-joy?branch=master) ### Getting Started diff --git a/package.json b/package.json index 7caf5dd..46ddd97 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "scripts": { "clean": "rimraf build coverage", "test": "cross-env NODE_ENV=test karma start internals/testing/karma.conf.js --single-run", - "test:watch": "npm run test -- --auto-watch --no-single-run" + "test:watch": "npm run test -- --auto-watch --no-single-run", + "coveralls": "cat ./coverage/lcov/lcov.info | coveralls" }, "precommit": "test", "babel": {