Skip to content

Commit 36a6af9

Browse files
committed
build: add coverage reporting
1 parent c0bdaa3 commit 36a6af9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ matrix:
88
- node_js: "0.11"
99
fast_finish: true
1010
script: "npm run-script test-travis"
11+
after_script: "npm install [email protected] && cat ./coverage/lcov.info | coveralls"

Readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![NPM version](https://badge.fury.io/js/serve-static.svg)](http://badge.fury.io/js/serve-static)
44
[![Build Status](https://travis-ci.org/expressjs/serve-static.svg?branch=master)](https://travis-ci.org/expressjs/serve-static)
5+
[![Coverage Status](https://img.shields.io/coveralls/expressjs/serve-static.svg?branch=master)](https://coveralls.io/r/expressjs/serve-static)
56

67
Previously `connect.static()`.
78

0 commit comments

Comments
 (0)