Skip to content
This repository was archived by the owner on Jun 17, 2020. It is now read-only.

Commit 92d0446

Browse files
committed
Adds codecov
1 parent c08ff47 commit 92d0446

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ before_install:
55
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.7.0
66
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
77
- yarn install
8+
install:
9+
- npm install -g codecov
810
script:
9-
- yarn test
11+
- yarn test-ci
1012
- yarn build
1113
cache:
1214
yarn: true

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"start": "webpack-dev-server --env dev --config ./config/webpack.config.js --open --hot",
88
"build": "webpack --env prod --config ./config/webpack.config.js",
9-
"test": "jest --coverage"
9+
"test": "jest --coverage",
10+
"test-ci": "jest && codecov"
1011
},
1112
"repository": {
1213
"type": "git",

0 commit comments

Comments
 (0)