Skip to content

Commit

Permalink
Merge pull request #27 from manuelstofer/code-coverage
Browse files Browse the repository at this point in the history
test: code coverage
  • Loading branch information
Evgeny Poberezkin committed Oct 19, 2016
2 parents 322eb1e + 04238f7 commit 9fa928a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
components
build
.nyc_output
coverage
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
language: node_js
sudo: false
node_js:
- "0.11"
- "0.10"
- "0.12"
- "4"
- "5"
- "6"
after_script:
- coveralls < coverage/lcov.info
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,22 @@
},
"devDependencies": {
"chai": "^1.9.1",
"coveralls": "^2.11.14",
"mocha": "^1.9.0",
"nyc": "^8.3.1",
"seamless-immutable": "^5.1.1"
},
"scripts": {
"test": "make test"
"test": "nyc make test"
},
"nyc": {
"exclude": [
"test",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
}
}

0 comments on commit 9fa928a

Please sign in to comment.