From cea80feb80de64d6cb5288b664496ebfba34f390 Mon Sep 17 00:00:00 2001 From: michaeldimmitt Date: Wed, 4 Jul 2018 00:31:10 -0400 Subject: [PATCH] Add CodeCov shield --- .travis.yml | 4 +++- README.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 37396e83..08155c4f 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 + - yarn test -- --coverage && codecov diff --git a/README.md b/README.md index c2bb81aa..5cfc1132 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/MichaelDimmitt/cliff-effects.svg)](https://codecov.io/gh/MichaelDimmitt/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.