Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
ci(coverage): use coveralls instead of codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
saiichihashimoto committed Jun 19, 2019
1 parent 174ab05 commit 86e433f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
15 changes: 2 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,39 @@ node_js:
branches:
except:
- /^v\d+\.\d+\.\d+$/
after_success:
- cat ./coverage/lcov.info | npx coveralls
jobs:
include:
- stage: test
after_success: npx codecov -F latest

- stage: mongoose
env: MONGOOSE_VERSION="5.0.0"
before_script: npm install mongoose@"$MONGOOSE_VERSION"
after_success: npx codecov -F mongoose_5
- env: MONGOOSE_VERSION="^4.0.0"
before_script: npm install mongoose@"$MONGOOSE_VERSION"
after_success: npx codecov -F mongoose_4
- env: MONGOOSE_VERSION="4.0.4"
before_script: npm install mongoose@"$MONGOOSE_VERSION"
after_success: npx codecov -F mongoose_4
- env: MONGOOSE_VERSION="~3.8.0"
before_script: npm install mongoose@"$MONGOOSE_VERSION"
after_success: npx codecov -F mongoose_3
- env: MONGOOSE_VERSION="3.2.2"
before_script: npm install mongoose@"$MONGOOSE_VERSION"
after_success: npx codecov -F mongoose_3

- stage: normalizr
env: NORMALIZR_VERSION="3.0.0"
before_script: npm install normalizr@"$NORMALIZR_VERSION"
after_success: npx codecov -F normalizr_3
- env: NORMALIZR_VERSION="^2.0.0"
before_script: npm install normalizr@"$NORMALIZR_VERSION"
after_success: npx codecov -F normalizr_2
- env: NORMALIZR_VERSION="2.0.0"
before_script: npm install normalizr@"$NORMALIZR_VERSION"
after_success: npx codecov -F normalizr_2
- env: NORMALIZR_VERSION="^1.0.0"
before_script: npm install normalizr@"$NORMALIZR_VERSION"
after_success: npx codecov -F normalizr_1
- env: NORMALIZR_VERSION="1.0.0"
before_script: npm install normalizr@"$NORMALIZR_VERSION"
after_success: npx codecov -F normalizr_1
- env: NORMALIZR_VERSION="^0.1.1"
before_script: npm install normalizr@"$NORMALIZR_VERSION"
after_success: npx codecov -F normalizr_0
- env: NORMALIZR_VERSION="0.1.1"
before_script: npm install normalizr@"$NORMALIZR_VERSION"
after_success: npx codecov -F normalizr_0

- stage: release
if: branch = master
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![current version](https://img.shields.io/npm/v/mongoose-normalizr.svg)](https://www.npmjs.com/package/mongoose-normalizr)
[![Build Status](https://travis-ci.org/saiichihashimoto/mongoose-normalizr.svg?branch=master)](https://travis-ci.org/saiichihashimoto/mongoose-normalizr)
[![codecov](https://codecov.io/gh/saiichihashimoto/mongoose-normalizr/branch/master/graph/badge.svg)](https://codecov.io/gh/saiichihashimoto/mongoose-normalizr)
[![Coverage Status](https://coveralls.io/repos/github/saiichihashimoto/mongoose-normalizr/badge.svg?branch=master)](https://coveralls.io/github/saiichihashimoto/mongoose-normalizr?branch=master)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Greenkeeper badge](https://badges.greenkeeper.io/saiichihashimoto/mongoose-normalizr.svg)](https://greenkeeper.io/)
Expand Down

0 comments on commit 86e433f

Please sign in to comment.