Skip to content

Commit 892d965

Browse files
taiontimdorr
authored andcommitted
Use only Codecov for coverage (#3685)
1 parent 191450f commit 892d965

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ before_install:
1010
- export DISPLAY=:99.0
1111
- sh -e /etc/init.d/xvfb start
1212
after_success:
13-
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
14-
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
13+
- node_modules/.bin/codecov
1514
branches:
1615
only:
1716
- master

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ React Router is a complete routing library for [React](https://facebook.github.i
66

77
React Router keeps your UI in sync with the URL. It has a simple API with powerful features like lazy code loading, dynamic route matching, and location transition handling built right in. Make the URL your first thought, not an after-thought.
88

9-
[![Coveralls][coveralls-badge]][coveralls]
9+
[![Codecov][codecov-badge]][codecov]
1010
[![Discord][discord-badge]][discord]
1111

1212
### Docs & Help
@@ -142,8 +142,8 @@ Also, thanks to [BrowserStack](https://www.browserstack.com/) for providing the
142142
[npm-badge]: https://img.shields.io/npm/v/react-router.svg?style=flat-square
143143
[npm]: https://www.npmjs.org/package/react-router
144144

145-
[coveralls-badge]: https://img.shields.io/coveralls/reactjs/react-router/master.svg?style=flat-square
146-
[coveralls]: https://coveralls.io/github/reactjs/react-router
145+
[codecov-badge]: https://img.shields.io/codecov/c/github/reactjs/react-router/master.svg?style=flat-square
146+
[codecov]: https://codecov.io/gh/reactjs/react-router
147147

148148
[discord-badge]: https://img.shields.io/badge/Discord-join%20chat%20%E2%86%92-738bd7.svg?style=flat-square
149149
[discord]: https://discord.gg/0ZcbPKXt5bYaNQ46

karma.conf.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,8 @@ module.exports = config => {
105105
},
106106

107107
coverageReporter: {
108-
reporters: [
109-
{ type: 'html', subdir: 'html' },
110-
{ type: 'lcovonly', subdir: '.' }
111-
]
108+
type: 'lcov',
109+
dir: 'coverage'
112110
}
113111
})
114112

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
"babel-preset-stage-1": "^6.5.0",
5656
"babel-register": "^6.9.0",
5757
"bundle-loader": "^0.5.4",
58-
"codecov.io": "^0.1.6",
59-
"coveralls": "^2.11.11",
58+
"codecov": "^1.0.1",
6059
"cross-env": "^2.0.0",
6160
"css-loader": "^0.23.1",
6261
"eslint": "^3.0.1",

0 commit comments

Comments
 (0)