minor tweaks to CI test scripts (#3467)

This commit is contained in:
Alex Lam S.L
2019-10-12 05:36:38 +08:00
committed by GitHub
parent eba3a37bb5
commit 516b67a43b
2 changed files with 5 additions and 2 deletions

View File

@@ -94,3 +94,6 @@ urls.forEach(function(url) {
});
});
});
setInterval(function() {
process.stderr.write("\0");
}, 5 * 60 * 1000).unref();

View File

@@ -15,7 +15,7 @@ if (process.argv[2] == "run") {
var branch = process.argv[3] || "v" + require("../package.json").version;
var repository = encodeURIComponent(process.argv[4] || "mishoo/UglifyJS2");
var concurrency = process.argv[5] || 1;
var platform = process.argv[6] || "node/latest";
var platform = process.argv[6] || "latest";
(function request() {
setTimeout(request, (period + wait) / concurrency);
var options = url.parse("https://api.travis-ci.org/repo/" + repository + "/requests");
@@ -37,7 +37,7 @@ if (process.argv[2] == "run") {
branch: branch,
config: {
cache: false,
env: "NODEJS_VER=" + platform,
env: "NODE=" + platform,
script: "node test/travis-ufuzz run"
}
}