Skip to content

Commit 8c7e940

Browse files
committed
codecov + badges
1 parent 02c4d66 commit 8c7e940

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ script:
77
- npm run lint
88
- npm run test-travis
99
- npm run bench
10-
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
10+
- npm i codecov
11+
- ./node_modules/.bin/codecov

Readme.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11

2-
# koa-compose [![Build Status](https://travis-ci.org/koajs/compose.png)](https://travis-ci.org/koajs/compose)
2+
# koa-compose
3+
4+
[![NPM version][npm-image]][npm-url]
5+
[![Build status][travis-image]][travis-url]
6+
[![Test coverage][codecov-image]][codecov-url]
7+
[![Dependency Status][david-image]][david-url]
8+
[![License][license-image]][license-url]
9+
[![Downloads][downloads-image]][downloads-url]
310

411
Compose middleware.
512

@@ -18,3 +25,16 @@ $ npm install koa-compose
1825
## License
1926

2027
MIT
28+
29+
[npm-image]: https://img.shields.io/npm/v/koa-compose.svg?style=flat-square
30+
[npm-url]: https://npmjs.org/package/koa-compose
31+
[travis-image]: https://img.shields.io/travis/koajs/compose/master.svg?style=flat-square
32+
[travis-url]: https://travis-ci.org/koajs/compose
33+
[codecov-image]: https://img.shields.io/codecov/c/github/koajs/compose/master.svg?style=flat-square
34+
[codecov-url]: https://codecov.io/github/koajs/compose
35+
[david-image]: http://img.shields.io/david/koajs/compose.svg?style=flat-square
36+
[david-url]: https://david-dm.org/koajs/compose
37+
[license-image]: http://img.shields.io/npm/l/koa-compose.svg?style=flat-square
38+
[license-url]: LICENSE
39+
[downloads-image]: http://img.shields.io/npm/dm/koa-compose.svg?style=flat-square
40+
[downloads-url]: https://npmjs.org/package/koa-compose

0 commit comments

Comments
 (0)