Skip to content

Commit 7655acc

Browse files
committedApr 4, 2018
Integrate codecov.
1 parent 960cb5c commit 7655acc

File tree

3 files changed

+176
-4
lines changed

3 files changed

+176
-4
lines changed
 

‎.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ dist: trusty
33
language: node_js
44
node_js:
55
- node
6-
install:
7-
- npm i -g eslint codecov
86
script:
97
- npm run ci
10-
- codecov
8+
- npm run codecov
119
notifications:
1210
email: false

‎package-lock.json

+172
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"lint": "eslint ./src/*",
88
"test": "jest",
9-
"ci": "npm run lint && npm run test"
9+
"ci": "npm run lint && npm run test",
10+
"codecov": "codecov"
1011
},
1112
"repository": {
1213
"type": "git",
@@ -23,6 +24,7 @@
2324
"@types/jest": "^22.2.2",
2425
"babel-cli": "^6.26.0",
2526
"babel-preset-env": "^1.6.1",
27+
"codecov": "^3.0.0",
2628
"eslint": "^4.19.1",
2729
"eslint-config-airbnb": "^16.1.0",
2830
"eslint-plugin-import": "^2.9.0",

0 commit comments

Comments
 (0)
Please sign in to comment.