Skip to content

Commit

Permalink
Add codecov badge
Browse files Browse the repository at this point in the history
  • Loading branch information
gliviu committed Dec 24, 2018
1 parent 83367a1 commit 9b04500
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -2,6 +2,8 @@ os:
- linux
- osx
language: node_js
install:
- npm install -g codecov
node_js:
- "node"
- "iojs"
Expand All @@ -17,3 +19,7 @@ node_js:
- "0.11"
branches:
only: master
script:
- npm install
- node ./node_modules/istanbul/lib/cli.js cover tests/runTests.js
- if ! [[ $(node --version) =~ v3.3.1|v0.11|v0.12 ]]; then codecov; else echo no codecov; fi;
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -4,6 +4,8 @@ Node JS directory compare

[![Build Status](https://api.travis-ci.org/gliviu/dir-compare.svg?branch=master)](https://travis-ci.org/gliviu/dir-compare)
[![Build status](https://ci.appveyor.com/api/projects/status/fpnqkr2gfg7pwkxk/branch/master?svg=true)](https://ci.appveyor.com/project/gliviu/dir-compare)
[![codecov.io](http://codecov.io/github/gliviu/dir-compare/coverage.svg?branch=master)](http://codecov.io/github/gliviu/dir-compare?branch=master)


## Installation
```shell
Expand Down

0 comments on commit 9b04500

Please sign in to comment.