diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-06-13 06:21:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 06:21:16 +0800 |
commit | 3dc9e140e4300f1b3f4f9fa3744bf579163ad204 (patch) | |
tree | 567fefe71f18cacc560c95e36fb534f171381580 /test | |
parent | fed009655623705f44f12f62ef2ecd7d9be86d86 (diff) | |
download | tracifyjs-3dc9e140e4300f1b3f4f9fa3744bf579163ad204.tar.gz tracifyjs-3dc9e140e4300f1b3f4f9fa3744bf579163ad204.zip |
add Node.js 8 to Travis CI (#2086)
- explicitly terminate `test/jetstream.js` upon completion
- log verbose output from `test/benchmark.js` & `test/jetstream.js`
- remove obsolete workaround for Travis CI
Diffstat (limited to 'test')
-rw-r--r-- | test/jetstream.js | 1 | ||||
-rw-r--r-- | test/mocha/release.js | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/test/jetstream.js b/test/jetstream.js index 8279975c..a1b041a8 100644 --- a/test/jetstream.js +++ b/test/jetstream.js @@ -64,6 +64,7 @@ if (typeof phantom == "undefined") { server.close(); if (code) throw new Error("JetStream failed!"); console.log("JetStream completed successfully."); + process.exit(0); }); }); } diff --git a/test/mocha/release.js b/test/mocha/release.js index 9f894b3d..bd1154ad 100644 --- a/test/mocha/release.js +++ b/test/mocha/release.js @@ -4,13 +4,9 @@ var spawn = require("child_process").spawn; if (!process.env.UGLIFYJS_TEST_ALL) return; function run(command, args, done) { - var id = setInterval(function() { - process.stdout.write("\0"); - }, 5 * 60 * 1000); spawn(command, args, { - stdio: "ignore" + stdio: [ "ignore", 1, 2 ] }).on("exit", function(code) { - clearInterval(id); assert.strictEqual(code, 0); done(); }); |