Skip to content

Commit

Permalink
setup coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
zwrawr committed Jun 22, 2019
1 parent 3cb8391 commit 65f7f34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ node_js:
script:
- npm run lint
- npm run test
- cat coverage/lcov.info | coveralls
cache: npm
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ww.zakwest.tech
[![Build Status](https://travis-ci.org/zwrawr/www.zakwest.tech.svg?branch=develop)](https://travis-ci.org/zwrawr/www.zakwest.tech)

[![Coverage Status](https://coveralls.io/repos/github/zwrawr/www.zakwest.co.uk/badge.svg?branch=develop)](https://coveralls.io/github/zwrawr/www.zakwest.co.uk?branch=develop)

This is the source for my website [www.zakwest.co.uk](https://www.zakwest.co.uk). It's built using Node.js on the server side and preact on the client side. jest and preact-render-spy are used for testing whilt eslint and stylelint are the linters.

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"test": "jest"
},
"devDependencies": {
"coveralls": "^3.0.4",
"eslint": "^5.16.0",
"eslint-config-synacor": "^2.0.2",
"eslint-plugin-react": "^7.13.0",
Expand Down Expand Up @@ -86,7 +87,7 @@
],
"coverageReporters": [
"text",
"json-summary"
"lcovonly"
]
}
}

0 comments on commit 65f7f34

Please sign in to comment.