Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #21 from otaviopace/code-coverage
Browse files Browse the repository at this point in the history
Code coverage - Coveralls and nyc
  • Loading branch information
evaporei committed Jan 1, 2018
2 parents 055a66d + 8295aa8 commit 9c44355
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/node_modules
.nyc_output
npm-debug.log
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
language: node_js
node_js:
- "6.2.2"

after_success:
- npm run coveralls
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# languid
[![Coverage Status](https://coveralls.io/repos/github/otaviopace/languid/badge.svg?branch=master)](https://coveralls.io/github/otaviopace/languid?branch=master)
[![Build Status](https://travis-ci.org/otaviopace/languid.svg?branch=master)](https://travis-ci.org/otaviopace/languid)

A simple web framework, made for REST/JSON APIs
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "web framework",
"main": "lib/index.js",
"scripts": {
"test": "ava"
"test": "nyc ava",
"report": "nyc report",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"repository": {
"type": "git",
Expand All @@ -25,6 +27,8 @@
},
"devDependencies": {
"ava": "^0.24.0",
"coveralls": "^3.0.0",
"nyc": "^11.4.1",
"request": "^2.83.0",
"request-promise": "^4.2.2"
}
Expand Down

0 comments on commit 9c44355

Please sign in to comment.