Skip to content

Commit

Permalink
Add Travis CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
moll committed May 4, 2014
1 parent 82ab5ef commit 2422340
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/*.tgz
/tags
/.travis.yml
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: node_js
node_js: ["0.10", "0.11"]

notifications:
email: ["[email protected]"]
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Unreleased
- Adds [Travis CI](https://travis-ci.org) badge to the README.

## 0.4.0 (May 4, 2014)
- Adds support for Node v0.10.24 and up.
- Adds the `connection` event to Mitm to get the remote `Net.Socket`. You can
Expand All @@ -18,12 +21,10 @@
mitm.on("request", function(req) { req.headers.host.must.equal("x.org") })
```

- Replaces [Concert.js][concert] with Node's EventEmitter for now as I was not
sure the extra features were required.
- Replaces [Concert.js](https://github.com/moll/js-concert) with Node's
EventEmitter for now as I was not sure the extra features were required.
Remember kids, _if in doubt, leave it out_.

[concert]: https://github.com/moll/js-concert

## 0.3.0 (Apr 26, 2014)
- Adds support for calling `Net.connect` with `port` and `host` arguments.

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
Mitm.js
=======
[![NPM version][npm-badge]](http://badge.fury.io/js/mitm)
[![Build status][travis-badge]](https://travis-ci.org/moll/node-mitm)
[npm-badge]: https://badge.fury.io/js/mitm.png
[travis-badge]: https://travis-ci.org/moll/node-mitm.png?branch=master

Mitm.js is a library for Node.js to **intercept and mock** network **TCP** and
**HTTP** connections. Mitm.js intercepts and gives you a `Net.Socket` to
Expand Down

0 comments on commit 2422340

Please sign in to comment.