Skip to content

Commit

Permalink
other: add codecov #10
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-koval committed Jan 17, 2018
1 parent 922a609 commit d1d95a6
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ script:
- npm run ci
- yarn danger ci

after_success: npm run coverage

node_js:
- "8"
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"scripts": {
"test": "nyc mocha",
"lint": "eslint index.js",
"ci": "npm run lint && npm run test"
"ci": "npm run lint && npm run test",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
},
"author": "Oleg Koval <[email protected]> (http://wearereasonablepeople.com/)",
"license": "MIT",
Expand All @@ -18,6 +19,8 @@
},
"devDependencies": {
"chai": "^4.1.2",
"codecov": "^3.0.0",
"coveralls": "^3.0.0",
"danger": "^3.0.3",
"eslint": "^4.8.0",
"eslint-config-warp": "^2.1.0",
Expand Down
Loading

0 comments on commit d1d95a6

Please sign in to comment.