From f0393bf9d6b193571cfe88d3e9bc727bd3c9e099 Mon Sep 17 00:00:00 2001 From: Viraj Trivedi Date: Wed, 13 Feb 2019 09:51:08 +0530 Subject: [PATCH 1/2] test(codecoverage): Added codecov for code coverage. Closes #42 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index e63ea7e..7911433 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,5 +17,7 @@ jobs: skip_cleanup: true before_script: - npm install + - npm install -g codecov script: - npm run semantic-release + - codecov From 314e4e300226afec5af4462d08181ae3468aaa28 Mon Sep 17 00:00:00 2001 From: Viraj Trivedi Date: Wed, 13 Feb 2019 09:51:47 +0530 Subject: [PATCH 2/2] docs(Readme): Added codecov badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 59b8fba..1b90748 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Build Status](https://travis-ci.org/inf3cti0n95/Rocket.Chat.RealTime.API.RxJS.svg?branch=master)](https://travis-ci.org/inf3cti0n95/Rocket.Chat.RealTime.API.RxJS) +[![codecov](https://codecov.io/gh/inf3cti0n95/Rocket.Chat.RealTime.API.RxJS/branch/master/graph/badge.svg)](https://codecov.io/gh/inf3cti0n95/Rocket.Chat.RealTime.API.RxJS) [![npm](https://img.shields.io/npm/v/rocket.chat.realtime.api.rxjs.svg)](https://www.npmjs.com/package/rocket.chat.realtime.api.rxjs) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)