From 4a590deb141203b2d0b99dd682ffebdf13aaa3d6 Mon Sep 17 00:00:00 2001 From: lucalysoft Date: Mon, 9 Nov 2015 12:51:14 +0000 Subject: [PATCH] adds Codecov.io badge Readme.md and before/after script in .travis.yml as discussed in: https://github.com/boennemann/badges/issues/43 --- .travis.yml | 3 +++ README.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index cfe862b..798155b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ language: node_js node_js: - '0.10' +before_install: + - pip install --user codecov after_success: - ./node_modules/grunt-cli/bin/grunt coveralls + - codecov --file coverage/lcov.info --disable search cache: directories: - node_modules diff --git a/README.md b/README.md index 033edd4..dfbba9f 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,9 @@ Your favorite service is missing? [Pull Requests welcome](CONTRIBUTING.md). ## Test Coverage +### Codecov - https://codecov.io/#features +[![codecov.io](https://codecov.io/github/nelsonic/badges/coverage.svg?branch=master)](https://codecov.io/github/nelsonic/badges?branch=master) + ### Coveralls [![Coverage Status](https://coveralls.io/repos/boennemann/badges/badge.png)](https://coveralls.io/r/boennemann/badges)