Skip to content

Commit 7ccc5de

Browse files
committed
Add code coverage badge via coveralls.
1 parent 47b641e commit 7ccc5de

File tree

5 files changed

+352
-2
lines changed

5 files changed

+352
-2
lines changed

.nycrc

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"require": ["ts-node/register"],
1212
"reporter": [
1313
"html",
14+
"lcov",
1415
"text",
1516
"text-summary"
1617
],

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ node_js:
33
- 10
44
- 12
55
# TODO - 14 when it is released
6+
script:
7+
- npm test
8+
after_success:
9+
- npm run report-coverage-to-coveralls

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
`ts-unused-exports` finds unused exported symbols in your Typescript project.
44

55
[![Build Status](https://travis-ci.com/pzavolinsky/ts-unused-exports.svg?branch=master)](https://travis-ci.com/pzavolinsky/ts-unused-exports)
6+
[![Coveralls](https://img.shields.io/coveralls/pzavolinsky/ts-unused-exports.svg)](https://coveralls.io/github/pzavolinsky/ts-unused-exports)
67

78
[![Dependencies](https://david-dm.org/pzavolinsky/ts-unused-exports.svg)](https://david-dm.org/pzavolinsky/ts-unused-exports)
89

0 commit comments

Comments
 (0)