Skip to content

Commit c28242a

Browse files
committed
Switch to Codecov
1 parent fee84b7 commit c28242a

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ before_install:
1717
- export DISPLAY=:99.0
1818
- sh -e /etc/init.d/xvfb start
1919

20+
after_success:
21+
- node_modules/.bin/codecov
22+
2023
branches:
2124
only:
2225
- master

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Bootstrap 3][bootstrap] components built with [React][react].
44

5-
[![Coveralls][coveralls-badge]][coveralls]
5+
[![Codecov][codecov-badge]][codecov]
66
[![Discord][discord-badge]][discord]
77
[![Thinkful][thinkful-badge]][thinkful]
88

@@ -47,8 +47,8 @@ Yes please! See the [contributing guidelines][contributing] for details.
4747
[thinkful-badge]: https://tf-assets-staging.s3.amazonaws.com/badges/thinkful_repo_badge.svg
4848
[thinkful]: http://start.thinkful.com/react/?utm_source=github&utm_medium=badge&utm_campaign=react-bootstrap
4949

50-
[coveralls-badge]: https://coveralls.io/repos/react-bootstrap/react-bootstrap/badge.svg?branch=master&service=github
51-
[coveralls]: https://coveralls.io/github/react-bootstrap/react-bootstrap?branch=master
50+
[codecov-badge]: https://img.shields.io/codecov/c/github/react-bootstrap/react-bootstrap/master.svg
51+
[codecov]: https://codecov.io/gh/react-bootstrap/react-bootstrap
5252

5353
[discord-badge]: https://img.shields.io/badge/Discord-Join%20chat%20%E2%86%92-738bd7.svg
5454
[discord]: https://discord.gg/0ZcbPKXt5bXLs9XK

codecov.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
comment: off

karma.conf.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ const webpackConfigBase = require('./webpack/base.config').default;
77
module.exports = config => {
88
const { env } = process;
99

10-
const coverageReporters = env.CONTINUOUS_INTEGRATION === 'true' ?
11-
['coverage', 'coveralls'] : ['coverage'];
12-
1310
config.set({
1411
frameworks: ['mocha', 'sinon-chai'],
1512

@@ -34,7 +31,7 @@ module.exports = config => {
3431
noInfo: true,
3532
},
3633

37-
reporters: ['mocha', ...coverageReporters],
34+
reporters: ['mocha', 'coverage'],
3835

3936
mochaReporter: {
4037
output: 'autowatch',

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"brfs": "^1.4.3",
6363
"chai": "^3.5.0",
6464
"child-process-promise": "^2.0.3",
65+
"codecov": "^1.0.1",
6566
"codemirror": "^5.16.0",
6667
"colors": "^1.1.2",
6768
"cross-env": "^2.0.0",
@@ -83,7 +84,6 @@
8384
"karma-chrome-launcher": "^1.0.1",
8485
"karma-cli": "^1.0.1",
8586
"karma-coverage": "^1.1.0",
86-
"karma-coveralls": "^1.1.2",
8787
"karma-firefox-launcher": "^1.0.0",
8888
"karma-mocha": "^1.1.1",
8989
"karma-mocha-reporter": "^2.0.4",

0 commit comments

Comments
 (0)