Skip to content

Commit

Permalink
add coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestalmage committed Dec 12, 2015
1 parent 0d44619 commit ac4641d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ node_js:
- 'stable'
- '0.12'
- '0.10'

before_install:
- 'npm install -g npm@3'

after_script:
- 'cat ./coverage/lcov.info | ./node_modules/.bin/coveralls'
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
],
"devDependencies": {
"ava": "^0.7.0",
"coveralls": "^2.11.6",
"fake-module-system": "^0.1.0",
"nyc": "^4.0.1",
"xo": "^0.11.2"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The typical require extension looks something like this:
module._compile(code, filename);
};
oldExtension(module, filename);
}
};
```

In *almost* all cases, that is sufficient and is the method that should be used ([`pirates`](https://www.npmjs.com/package/pirates) makes it much easier to do this correctly).
Expand Down

0 comments on commit ac4641d

Please sign in to comment.