Skip to content

Commit

Permalink
add coveralls coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
scub45t3v3 committed Aug 26, 2018
1 parent 902ee65 commit 1055f91
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: fuxh52ViUlVIUPuXRokPPjmnF2EnsUMgq
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ node_js:
- "9.0"
- "10.0"
- "node"
- "lts/*"
- "lts/*"
after_script:
- "npm run coveralls"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Transformation

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

collection of javascript data transformation functions
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@
],
"scripts": {
"build": "grunt",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "grunt eslint",
"pretest": "grunt",
"test": "nyc --reporter=html --reporter=text mocha test",
"test": "nyc --reporter=html --reporter=text --reporter=lcov mocha test",
"posttest": "mocha --reporter=markdown > TEST.md"
},
"engines": {
"node": ">= 6"
},
"devDependencies": {
"coveralls": "^3.0.2",
"eslint": "^5.4.0",
"eslint-config-scuba-squad": "^1.1.0",
"grunt": "^1.0.3",
Expand Down

0 comments on commit 1055f91

Please sign in to comment.