diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8750e3b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +node_js: +- "0.8" +- "0.10" +language: node_js \ No newline at end of file diff --git a/Readme.md b/Readme.md index 30d18c5..49c3b70 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,4 @@ -# Emitter +# Emitter [![Build Status](https://travis-ci.org/component/emitter.png)](https://travis-ci.org/component/emitter) Event emitter component. @@ -40,7 +40,7 @@ user.emit('im a user'); var Emitter = require('emitter'); Emitter(User.prototype); ``` - + ### Emitter#on(event, fn) Register an `event` handler `fn`. diff --git a/package.json b/package.json index b0f7370..c193ffd 100644 --- a/package.json +++ b/package.json @@ -14,5 +14,8 @@ "repository": { "type": "git", "url": "https://github.com/component/emitter.git" + }, + "scripts": { + "test": "make test" } }