diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5bb370b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: node_js +node_js: + - "0.11" + - "0.10" + - "0.8" +before_script: + - npm install -g grunt-cli \ No newline at end of file diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 0c535e5..af05f38 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -37,7 +37,7 @@ module.exports = (grunt) -> "lib/irc.js": "src/irc.coffee" coffeelint: - client: ["src/**/*.coffee"] + client: ["Gruntfile.coffee", "src/**/*.coffee"] options: indentation: value: 2 diff --git a/package.json b/package.json index 2be81d3..fbf9e21 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,9 @@ }, "main": "./src/irc.coffee", "engine": "node > 0.6.0", + "scripts": { + "test": "grunt" + }, "dependencies": { "irc": "git://github.com/nandub/node-irc.git" },