[Pkg-javascript-commits] [uglifyjs] 138/491: add Node.js 8 to Travis CI (#2086)
Jonas Smedegaard
dr at jones.dk
Wed Feb 14 19:51:29 UTC 2018
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.
commit 3dc9e140e4300f1b3f4f9fa3744bf579163ad204
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date: Tue Jun 13 06:21:16 2017 +0800
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
---
.travis.yml | 1 +
test/jetstream.js | 1 +
test/mocha/release.js | 6 +-----
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index cdee430..968addf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,7 @@ node_js:
- "0.12"
- "4"
- "6"
+ - "8"
env:
- UGLIFYJS_TEST_ALL=1
matrix:
diff --git a/test/jetstream.js b/test/jetstream.js
index 8279975..a1b041a 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 9f894b3..bd1154a 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();
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list