Skip to content

Commit

Permalink
Merge pull request #10 from DiscoNova/wip/coveralls
Browse files Browse the repository at this point in the history
Add coverage badge in README
  • Loading branch information
DiscoNova authored Jul 23, 2019
2 parents 9e19409 + 0999b30 commit 83d8307
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# symmetric-round

[![Build Status](https://travis-ci.org/DiscoNova/symmetric-round.svg?branch=master)](https://travis-ci.org/DiscoNova/symmetric-round)
[![Build Status](https://travis-ci.org/DiscoNova/symmetric-round.svg?branch=master)](https://travis-ci.org/DiscoNova/symmetric-round) [![Coverage Status](https://coveralls.io/repos/github/DiscoNova/symmetric-round/badge.svg)](https://coveralls.io/github/DiscoNova/symmetric-round)

A tiny utility function *(like - literally; the function is a one-liner)* to perform symmetric rounding to integer Numbers.

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "symmetric-round",
"version": "1.0.4",
"version": "1.0.5",
"description": "A tiny utility function to perform symmetric rounding (a.k.a. \"commercial rounding\") on a number.",
"keywords": [
"commercial",
Expand All @@ -17,7 +17,7 @@
"main": "src/index.js",
"scripts": {
"test": "./node_modules/.bin/eslint */*.js && jest",
"coverage": "jest --coverage"
"coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls"
},
"repository": {
"type": "git",
Expand All @@ -30,6 +30,7 @@
},
"homepage": "https://github.com/DiscoNova/symmetric-round#readme",
"devDependencies": {
"coveralls": "^3.0.5",
"eslint": "^6.0.1",
"jest": "^24.8.0"
}
Expand Down

0 comments on commit 83d8307

Please sign in to comment.