Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bump minimum Node version to 0.8 and add CI tests

- Removes workaround for node exit not properly flushing on 0.4 and
lower
- Add Travis test runs for each of the supported node version
Fixes #378
  • Loading branch information...
commit 166859f3c053e26f589de91c0fcbb749df8b3085 1 parent 14899c9
Nick Schonning nschonni authored
Showing with 3 additions and 11 deletions.
  1. +1 −0  .travis.yml
  2. +1 −1  package.json
  3. +1 −10 src/cli/node.js
1  .travis.yml
View
@@ -2,5 +2,6 @@ language: node_js
node_js:
- "0.8"
- "0.10"
+ - "0.11"
before_install:
- npm install -g grunt-cli
2  package.json
View
@@ -11,7 +11,7 @@
}
],
"engines": {
- "node": ">=0.2.0"
+ "node": ">=0.8.0"
},
"directories": {
"lib": "lib"
11 src/cli/node.js
View
@@ -17,16 +17,7 @@ cli({
},
quit: function(code){
-
- //Workaround for https://github.com/joyent/node/issues/1669
-
- if ((!process.stdout.flush || !process.stdout.flush()) && (parseFloat(process.versions.node) < 0.5)) {
- process.once("drain", function () {
- process.exit(code || 0);
- });
- } else {
- process.exit(code || 0);
- }
+ process.exit(code || 0);
},
isDirectory: function(name){
Please sign in to comment.
Something went wrong with that request. Please try again.