diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..94cd7f6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: node_js +node_js: + - 0.6 + - 0.7 diff --git a/README.markdown b/README.md similarity index 61% rename from README.markdown rename to README.md index 5cf8272..6d0ae42 100644 --- a/README.markdown +++ b/README.md @@ -1,6 +1,9 @@ +[![Build Status](https://secure.travis-ci.org/my8bird/nodejs-sandbox.png?branch=master)](http://travis-ci.org/my8bird/nodejs-sandbox) + + Install ------- - git clone git@github.com:my8bird/nodejs-sandbox.git + git clone git@github.com:my8bird/nodejs-sandbox.git cd nodejs-sandbox npm link @@ -14,4 +17,4 @@ Usage sandbox.on('start', function() {console.log('start'); }); sandbox.on('finish', function() {console.log('finish'); }); -@see _example.js for running code. \ No newline at end of file +@see _example.js for running code. diff --git a/package.json b/package.json index 58cfd9a..ec91235 100644 --- a/package.json +++ b/package.json @@ -4,16 +4,21 @@ "homepage": "https://github.com/my8bird/nodejs-sandbox", "version": "0.0.1", "author": { - "name": "Nathan Landis", + "name": "Nathan Landis", "email": "my8bird@gmail.com"}, "main": "main.js", - "repository" : { + "repository" : { "type" : "git", "url" : "https://github.com/my8bird/nodejs-sandbox.git" }, "keywords": [], "bugs" : { "url" : "https://github.com/my8bird/nodejs-sandbox/issues" }, - "dependencies": + + "scripts": { + "test": "./node_modules/jasmine-node/bin/jasmine-node tests/" + }, + + "dependencies": { "jasmine-node": ">= 1.0.12", "docco": ">=0.3.0"