Skip to content

Commit 74ee864

Browse files
author
tunnckoCore
committed
add coverage, update travis tasks
1 parent d12289c commit 74ee864

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repo_token: TtEB9UnnWEhtShm2Sc6tYS1JB227mJjDT

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ node_js:
55
matrix:
66
allow_failures:
77
- node_js: "0.10"
8-
fast_finish: true
8+
fast_finish: true
9+
script: "npm run-script test-travis"
10+
after_script: "npm install coveralls && cat ./coverage/lcov.info | coveralls"

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## [![npm][npmjs-img]][npmjs-url] [![mit license][license-img]][license-url] [![build status][travis-img]][travis-url]
1+
## [![npm][npmjs-img]][npmjs-url] [![mit license][license-img]][license-url] [![build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![deps status][daviddm-img]][daviddm-url]
2+
23

34
> Function regex. Regular expression for matching function parts. Expose match groups for function name, arguments and function body.
45
@@ -68,7 +69,7 @@ Released under the [`MIT`][license-url] license.
6869
[travis-img]: https://img.shields.io/travis/regexps/function-regex.svg?style=flat
6970

7071
[daviddm-url]: https://david-dm.org/regexps/function-regex
71-
[daviddm-img]: https://img.shields.io/david/regexps/function-regex.svg?style=flat
72+
[daviddm-img]: https://img.shields.io/david/dev/regexps/function-regex.svg?style=flat
7273

7374
[author-gratipay]: https://gratipay.com/tunnckoCore
7475
[author-twitter]: https://twitter.com/tunnckoCore

0 commit comments

Comments
 (0)