Skip to content

Commit 58221fc

Browse files
committed
Merge pull request #9 from AdrieanKhisbe/improved-ci
Improved ci
2 parents 20f9c3c + 273d4e2 commit 58221fc

File tree

3 files changed

+38
-5
lines changed

3 files changed

+38
-5
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1+
sudo: false
12
language: node_js
3+
24
node_js:
35
- "0.10"
46
- "0.12"
5-
- iojs
7+
- "iojs"
8+
- "4"
9+
- "5"
10+
11+
cache:
12+
directories:
13+
- node_modules
14+
15+
after_script:
16+
npm run coveralls

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# fastfall  [![Build Status](https://travis-ci.org/mcollina/fastfall.svg?branch=master)](https://travis-ci.org/mcollina/fastfall)
1+
# fastfall
22

3+
[![npm version][npm-badge]][npm-url]
4+
[![Build Status][travis-badge]][travis-url]
5+
[![Coverage Status][coveralls-badge]][coveralls-url]
6+
[![Dependency Status][david-badge]][david-url]
37

4-
call your callbacks in a waterfall, without overhead
8+
## call your callbacks in a waterfall, without overhead
59

610
Benchmark for doing 3 calls `setImmediate` 100 thousands times:
711

@@ -216,3 +220,13 @@ function, too. Calls `done` when it has finished.
216220
## License
217221

218222
MIT
223+
224+
225+
[npm-badge]: https://badge.fury.io/js/fastfall.svg
226+
[npm-url]: https://badge.fury.io/js/fastfall
227+
[travis-badge]: https://api.travis-ci.org/mcollina/fastfall.svg
228+
[travis-url]: https://travis-ci.org/mcollina/fastfall
229+
[coveralls-badge]:https://coveralls.io/repos/mcollina/fastfall/badge.svg?branch=master&service=github
230+
[coveralls-url]: https://coveralls.io/github/mcollina/fastfall?branch=master
231+
[david-badge]: https://david-dm.org/mcollina/fastfall.svg
232+
[david-url]: https://david-dm.org/mcollina/fastfall

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"main": "fall.js",
66
"scripts": {
77
"lint": "standard",
8-
"test": "tape test.js | faucet"
8+
"test": "tape test.js | faucet",
9+
"coverage": "istanbul cover tape test.js | tap-spec",
10+
"coveralls": "npm run coverage ; cat ./coverage/lcov.info | coveralls"
911
},
1012
"precommit": [
1113
"lint",
@@ -28,15 +30,21 @@
2830
"url": "https://github.com/mcollina/fastfall/issues"
2931
},
3032
"homepage": "https://github.com/mcollina/fastfall#readme",
33+
"engines": {
34+
"node": ">=0.10.0"
35+
},
3136
"devDependencies": {
3237
"async": "^1.0.0",
38+
"coveralls": "^2.11.6",
3339
"fastbench": "^1.0.0",
3440
"faucet": "0.0.1",
35-
"insync": "^1.0.0",
41+
"insync": "^2.1.1",
42+
"istanbul": "^0.4.1",
3643
"neo-async": "^1.7.0",
3744
"pre-commit": "^1.0.10",
3845
"run-waterfall": "^1.1.1",
3946
"standard": "^5.0.0",
47+
"tap-spec": "^4.1.1",
4048
"tape": "^4.0.0",
4149
"waterfallize": "^1.0.0"
4250
},

0 commit comments

Comments
 (0)