From 98c54d115402dc186272a54804bb1e2d0a7a8e7b Mon Sep 17 00:00:00 2001 From: michaeldimmitt Date: Wed, 4 Jul 2018 00:31:10 -0400 Subject: [PATCH] Add CodeCov shield for create react app --- .travis.yml | 4 +++- README.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 37396e83..ede81da6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ node_js: cache: directories: - node_modules +install: + - npm install -g codecov script: - npm run build - - npm test \ No newline at end of file + - npm test -- --coverage && codecov diff --git a/README.md b/README.md index c2bb81aa..5531c0e4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# cliff-effects [![TravisCI](https://travis-ci.org/codeforboston/cliff-effects.svg?style=shield)](https://travis-ci.org/codeforboston/cliff-effects) +# cliff-effects [![TravisCI](https://travis-ci.org/codeforboston/cliff-effects.svg?style=shield)](https://travis-ci.org/codeforboston/cliff-effects) [![CodeCov](https://img.shields.io/codecov/c/github/codeforboston/cliff-effects.svg)](https://codecov.io/gh/codeforboston/cliff-effects) > **cliff effect**: You are a person on government benefits, and you get a raise. You're making more money! But now that your income is higher, you don't make the cutoff for the benefits you receive. Even though you're taking home more money, your situation is worse. Some of your benefits drop to nothing, or almost nothing. You've fallen off "the cliff." We are building the Cliff Effects webapp to help* [Project Hope](http://www.prohope.org/about/) case managers make quantifiable predictions about their clients' potential cliff effects - and advise their clients accordingly.