Skip to content

Commit a462f77

Browse files
committed
add coverall, node 4 to travis
1 parent 46130df commit a462f77

4 files changed

Lines changed: 17 additions & 15 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ npm-debug.log
1010
.idea
1111
*.sublime-project
1212
*.sublime-workspace
13-
*.orig
13+
*.orig
14+
coverage

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: node_js
22
node_js:
3-
- "0.10"
4-
before_script:
5-
- npm install
3+
- "4"
4+
- "0.12"
65
notifications:
76
email: true
7+
after_success: "npm run coveralls"
8+
sudo: false

package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,19 @@
1818
"moduleconfig": "1.1.0"
1919
},
2020
"scripts": {
21-
"test": "node test.js"
21+
"test": "istanbul cover _mocha",
22+
"coveralls": "cat ./coverage/lcov.info | coveralls"
2223
},
2324
"devDependencies": {
24-
"mocha": "2.3.3",
2525
"chai": "3.3.0",
26-
"sinon": "1.17.1",
27-
"sinon-chai": "2.8.0",
26+
"coveralls": "^2.11.4",
27+
"istanbul": "0.4.0",
28+
"mocha": "2.3.3",
2829
"mocha-jshint": "2.2.3",
29-
"request": "2.64.0"
30+
"mocha-lcov-reporter": "^1.0.0",
31+
"request": "2.64.0",
32+
"sinon": "1.17.1",
33+
"sinon-chai": "2.8.0"
3034
},
3135
"readmeFilename": "readme.md",
3236
"gitHead": "985c718ebf69fc91205c6c40d0a46ce49c717f2b",
@@ -37,5 +41,5 @@
3741
"error",
3842
"handling"
3943
],
40-
"license": "APACHE V2.0"
44+
"license": "MIT"
4145
}

readme.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ nodeerrors
33
This is a library for handling errors more efficiently in ```node.js```, especially made for people like me
44
who use function hoisting most of the time to avoid some of the so-called "callback hell".
55

6-
[![Build Status](https://travis-ci.org/ebdrup/nodeerrors.png)](https://travis-ci.org/ebdrup/nodeerrors)
7-
8-
[![NPM version](https://badge.fury.io/js/nodeerrors.png)](http://badge.fury.io/js/nodeerrors)
9-
10-
[![Dependency Status](https://gemnasium.com/ebdrup/nodeerrors.png)](https://gemnasium.com/ebdrup/nodeerrors)
6+
[![Build Status](https://travis-ci.org/ebdrup/nodeerrors.png)](https://travis-ci.org/ebdrup/nodeerrors) [![NPM version](https://badge.fury.io/js/nodeerrors.png)](http://badge.fury.io/js/nodeerrors) [![Dependency Status](https://gemnasium.com/ebdrup/nodeerrors.png)](https://gemnasium.com/ebdrup/nodeerrors) [![Coverage Status](https://coveralls.io/repos/ebdrup/nodeerrors/badge.svg?branch=master&service=github)](https://coveralls.io/github/ebdrup/nodeerrors?branch=master)
117

128
Installation
139
------------

0 commit comments

Comments
 (0)