diff --git a/appveyor.yml b/appveyor.yml index 83a8843..ab1721a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,7 @@ environment: - nodejs_version: "4" - nodejs_version: "6" + matrix: + - nodejs_version: "4" + - nodejs_version: "6" install: - ps: Install-Product node $env:nodejs_version @@ -10,3 +11,10 @@ test_script: - node --version - npm --version - npm test + +os: + - Windows Server 2012 R2 + +build: off + +version: "{build}" diff --git a/test/test.js b/test/test.js index dadc80d..66fe4f1 100644 --- a/test/test.js +++ b/test/test.js @@ -7,7 +7,7 @@ require('chai').should() describe('setBlocking', function () { // see: https://github.com/yargs/yargs/issues/497 it('does not truncate text printed to stdout when process.exit() is called', function (done) { - exec('./test/fixtures/yargs-497-stdout.js', function (err, stdout, stderr) { + exec('node ./test/fixtures/yargs-497-stdout.js', function (err, stdout, stderr) { if (err) return done(err) stdout.should.match(/line 2999/) return done() @@ -15,7 +15,7 @@ describe('setBlocking', function () { }) it('does not truncate text printed to stderr when process.exit() is called', function (done) { - exec('./test/fixtures/yargs-497-stderr.js', function (err, stdout, stderr) { + exec('node ./test/fixtures/yargs-497-stderr.js', function (err, stdout, stderr) { err.should.match(/Command failed/) stderr.should.match(/line 2999/) return done()