Skip to content

Commit eb57bbc

Browse files
committed
update test coverage
1 parent 6cb88f6 commit eb57bbc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ node_js:
55

66
script:
77
- |
8-
if [ "$TEST_TYPE" = test ]; then
9-
npm test
8+
if [ "$TEST_TYPE" = coverage ]; then
9+
npm run coverage && \
10+
bash <(curl -s https://codecov.io/bash)
1011
else
1112
npm run $TEST_TYPE
1213
fi

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"enzyme": "^3.8.0",
5353
"lint-staged": "^8.1.0",
5454
"pre-commit": "1.x",
55-
"rc-tools": "^9.1.1",
55+
"rc-tools": "^9.1.2",
5656
"rc-util": "^4.0.2",
5757
"react": "^16.0.0",
5858
"react-dom": "^16.0.0"

0 commit comments

Comments
 (0)