Permalink
Browse files

ci: Use codecov for code coverage

  • Loading branch information...
pvdlg committed Sep 29, 2017
1 parent abf92ad commit cc3c8f25487e682228dd5f356be9e5358c7a5e1d
Showing with 6 additions and 7 deletions.
  1. +3 −3 .travis.yml
  2. +1 −1 README.md
  3. +2 −3 package.json
View
@@ -7,11 +7,11 @@ notifications:
email: false
node_js:
- 8
after_success:
- npm run coverage:upload
- npm run semantic-release
services:
- couchdb
branches:
except:
- /^v\d+\.\d+\.\d+$/
after_success:
- npm run codecov
- npm run semantic-release
View
@@ -16,7 +16,7 @@
[![devDependency Status](https://david-dm.org/semantic-release/semantic-release/caribou/dev-status.svg)](https://david-dm.org/semantic-release/semantic-release/caribou#info=devDependencies)
[![Build Status](https://travis-ci.org/semantic-release/semantic-release.svg?branch=caribou)](https://travis-ci.org/semantic-release/semantic-release)
[![Coverage Status](https://coveralls.io/repos/semantic-release/semantic-release/badge.svg?branch=caribou&service=github)](https://coveralls.io/github/semantic-release/semantic-release?branch=caribou)
[![Codecov](https://img.shields.io/codecov/c/github/semantic-release/semantic-release/caribou.svg)](https://codecov.io/gh/semantic-release/semantic-release)
Out of the box this is just about _commit-messages_, but you can do so much more.
View
@@ -36,8 +36,8 @@
"semver": "^5.4.1"
},
"devDependencies": {
"coveralls": "^3.0.0",
"ava": "^0.22.0",
"codecov": "^2.3.0",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^4.7.0",
@@ -120,10 +120,9 @@
"url": "git+https://github.com/semantic-release/semantic-release.git"
},
"scripts": {
"coverage": "nyc report",
"coverage:upload": "npm run coverage -s -- --reporter=text-lcov | coveralls",
"clean": "rimraf coverage && rimraf .nyc_output",
"cm": "git-cz",
"codecov": "codecov -f coverage/coverage-final.json",
"lint": "eslint .",
"pretest": "npm run clean && npm run lint",
"semantic-release": "./bin/semantic-release.js pre && npm publish && ./bin/semantic-release.js post",

0 comments on commit cc3c8f2

Please sign in to comment.