From 0684dd5b8e3bbf5cea8d8382d7fe263fd920f3b7 Mon Sep 17 00:00:00 2001 From: BinHong Lee Date: Thu, 10 Aug 2017 02:19:00 -0700 Subject: [PATCH] Added replaced codeclimate with codecov --- .travis.yml | 7 ++++++- README.md | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 11d0faa..05714db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,11 @@ node_js: - "5" - "4" - "lts/*" -script: npm test +install: + - npm install -g codecov +script: + - npm test + - istanbul cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec + - codecov env: CODECLIMATE_REPO_TOKEN: a174b03227cdc953c831f45bebcf0af357ec1b8a4b8477f36444c16f084a409f diff --git a/README.md b/README.md index d553004..f16a112 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Dota 2 Random - Alexa Skill -[![Build Status](https://travis-ci.org/binhonglee/dota2-random.svg?branch=master)](https://travis-ci.org/binhonglee/dota2-random) [![Test Coverage](https://codeclimate.com/github/binhonglee/dota2-random/badges/coverage.svg)](https://codeclimate.com/github/binhonglee/dota2-random/coverage) [![Dependency Status](https://gemnasium.com/badges/github.com/binhonglee/dota2-random.svg)](https://gemnasium.com/github.com/binhonglee/dota2-random) +[![Build Status](https://travis-ci.org/binhonglee/dota2-random.svg?branch=master)](https://travis-ci.org/binhonglee/dota2-random) [![codecov](https://codecov.io/gh/binhonglee/dota2-random/branch/master/graph/badge.svg)](https://codecov.io/gh/binhonglee/dota2-random) + [![Dependency Status](https://gemnasium.com/badges/github.com/binhonglee/dota2-random.svg)](https://gemnasium.com/github.com/binhonglee/dota2-random) ## Skill is now available from the [Alexa Skill Store](https://www.amazon.com/binhonglee-Dota2-Random/dp/B073W4GDLS)!