Permalink
Browse files

Use only Codecov for coverage (#3685)

  • Loading branch information...
1 parent 191450f commit 892d96540c8d9c0fc72fe22304c23d085988aaf3 @taion taion committed with timdorr Jul 29, 2016
Showing with 7 additions and 11 deletions.
  1. +1 −2 .travis.yml
  2. +3 −3 README.md
  3. +2 −4 karma.conf.js
  4. +1 −2 package.json
View
@@ -10,8 +10,7 @@ before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
after_success:
-- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
-- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
+- node_modules/.bin/codecov
branches:
only:
- master
View
@@ -6,7 +6,7 @@ React Router is a complete routing library for [React](https://facebook.github.i
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.
-[![Coveralls][coveralls-badge]][coveralls]
+[![Codecov][codecov-badge]][codecov]
[![Discord][discord-badge]][discord]
### Docs & Help
@@ -142,8 +142,8 @@ Also, thanks to [BrowserStack](https://www.browserstack.com/) for providing the
[npm-badge]: https://img.shields.io/npm/v/react-router.svg?style=flat-square
[npm]: https://www.npmjs.org/package/react-router
-[coveralls-badge]: https://img.shields.io/coveralls/reactjs/react-router/master.svg?style=flat-square
-[coveralls]: https://coveralls.io/github/reactjs/react-router
+[codecov-badge]: https://img.shields.io/codecov/c/github/reactjs/react-router/master.svg?style=flat-square
+[codecov]: https://codecov.io/gh/reactjs/react-router
[discord-badge]: https://img.shields.io/badge/Discord-join%20chat%20%E2%86%92-738bd7.svg?style=flat-square
[discord]: https://discord.gg/0ZcbPKXt5bYaNQ46
View
@@ -105,10 +105,8 @@ module.exports = config => {
},
coverageReporter: {
- reporters: [
- { type: 'html', subdir: 'html' },
- { type: 'lcovonly', subdir: '.' }
- ]
+ type: 'lcov',
+ dir: 'coverage'
}
})
View
@@ -55,8 +55,7 @@
"babel-preset-stage-1": "^6.5.0",
"babel-register": "^6.9.0",
"bundle-loader": "^0.5.4",
- "codecov.io": "^0.1.6",
- "coveralls": "^2.11.11",
+ "codecov": "^1.0.1",
"cross-env": "^2.0.0",
"css-loader": "^0.23.1",
"eslint": "^3.0.1",

0 comments on commit 892d965

Please sign in to comment.