Skip to content

Commit

Permalink
Add codecov integration
Browse files Browse the repository at this point in the history
  • Loading branch information
bausmeier committed Aug 28, 2017
1 parent 00e9f05 commit 6030395
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
@@ -1,9 +1,10 @@
language: node_js
node_js:
- "0.12"
- "4"
- "5"
- "6"
- "7"
- "8"
sudo: false
after_success:
- npm run codecov
2 changes: 2 additions & 0 deletions codecov.yml
@@ -0,0 +1,2 @@
comment:
layout: "diff, files"
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -18,9 +18,10 @@
"scripts": {
"lint": "standard",
"test": "tap --cov test/{IntegrationTests,UnitTests,Regression}.js",
"cover": "tap --cov --coverage-report=html test/{IntegrationTests,UnitTests,Regression}.js"
"codecov": "tap --coverage-report=lcov && codecov"
},
"devDependencies": {
"codecov": "^2.3.0",
"sinon": "^2.3.4",
"standard": "^10.0.2",
"tap": "^10.3.3"
Expand Down

0 comments on commit 6030395

Please sign in to comment.