Skip to content

Commit 0bab328

Browse files
committed
Add badges and coverage information
1 parent 57af7cf commit 0bab328

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ notifications:
77

88
node_js:
99
- "0.10"
10+
11+
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# array-flatten
1+
# Array Flatten
2+
3+
[![NPM version][npm-image]][npm-url]
4+
[![Build status][travis-image]][travis-url]
5+
[![Test coverage][coveralls-image]][coveralls-url]
6+
[![Gittip][gittip-image]][gittip-url]
27

38
Flatten an array of nested arrays into a single flat array.
49

@@ -23,3 +28,12 @@ flatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2);
2328
## License
2429

2530
MIT
31+
32+
[npm-image]: https://img.shields.io/npm/v/array-flatten.svg?style=flat
33+
[npm-url]: https://npmjs.org/package/array-flatten
34+
[travis-image]: https://img.shields.io/travis/blakeembrey/array-flatten.svg?style=flat
35+
[travis-url]: https://travis-ci.org/blakeembrey/array-flatten
36+
[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/array-flatten.svg?style=flat
37+
[coveralls-url]: https://coveralls.io/r/blakeembrey/array-flatten?branch=master
38+
[gittip-image]: https://img.shields.io/gittip/blakeembrey.svg?style=flat
39+
[gittip-url]: https://www.gittip.com/blakeembrey

0 commit comments

Comments
 (0)