diff --git a/.travis.yml b/.travis.yml index b92edba..f4489e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,12 @@ language: node_js node_js: - - "0.11" + - "5.0" + - "4.2" + - "0.12" - "0.10" - "0.8" before_install: + - "npm install -g npm@next" - "npm install -g mocha voc" - "npm install blanket" - "npm install coveralls mocha-lcov-reporter" diff --git a/bin/codepage.njs b/bin/codepage.njs index 837acc0..32b3cd2 100755 --- a/bin/codepage.njs +++ b/bin/codepage.njs @@ -2,6 +2,7 @@ /* js-codepage (C) 2014-present SheetJS -- http://sheetjs.com */ /* vim: set ts=2 ft=javascript: */ var codepage = require('../'); +require('exit-on-epipe'); var fs = require('fs'), program = require('commander'); program .version(codepage.version) diff --git a/codepage.md b/codepage.md index 26b1825..7f28b03 100644 --- a/codepage.md +++ b/codepage.md @@ -748,6 +748,7 @@ describe('failures', function() { "dependencies": { "voc":"", "concat-stream":"", + "exit-on-epipe":"", "commander":"" }, "devDependencies": { diff --git a/package.json b/package.json index 43bc260..aa09ba9 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "dependencies": { "voc":"", "concat-stream":"", + "exit-on-epipe":"", "commander":"" }, "devDependencies": {