Skip to content

Commit

Permalink
docs(reports): Added code coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Feb 2, 2018
1 parent 50a3d7b commit da7a690
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ node_js:
- '6'
script: npm run verify
after_success:
- npm run travis-deploy-once "npm run publish-reports"
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Tiny Types

[![npm version](https://badge.fury.io/js/tiny-types.svg)](https://badge.fury.io/js/tiny-types)
[![Build Status](https://travis-ci.org/jan-molak/tiny-types.svg?branch=master)](https://travis-ci.org/jan-molak/tiny-types)
[![Coverage Status](https://coveralls.io/repos/github/jan-molak/tiny-types/badge.svg?branch=master)](https://coveralls.io/github/jan-molak/tiny-types?branch=master)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![npm](https://img.shields.io/npm/dm/tiny-types.svg)](https://npm-stat.com/charts.html?package=tiny-types)
[![Known Vulnerabilities](https://snyk.io/test/github/jan-molak/tiny-types/badge.svg)](https://snyk.io/test/github/jan-molak/tiny-types)
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"test": "nyc --report-dir ./reports/coverage mocha --opts ./mocha.opts 'spec/**/*.spec.*'",
"package": "tsc --project tsconfig.json",
"verify": "npm run clean && npm run lint && npm test && npm run package",
"publish-reports": "nyc report --reporter=text-lcov | coveralls",
"commit": "git-cz",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
Expand Down

0 comments on commit da7a690

Please sign in to comment.