minor tweaks to CI test scripts (#3467)
This commit is contained in:
parent
eba3a37bb5
commit
516b67a43b
|
|
@ -94,3 +94,6 @@ urls.forEach(function(url) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
setInterval(function() {
|
||||||
|
process.stderr.write("\0");
|
||||||
|
}, 5 * 60 * 1000).unref();
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ if (process.argv[2] == "run") {
|
||||||
var branch = process.argv[3] || "v" + require("../package.json").version;
|
var branch = process.argv[3] || "v" + require("../package.json").version;
|
||||||
var repository = encodeURIComponent(process.argv[4] || "mishoo/UglifyJS2");
|
var repository = encodeURIComponent(process.argv[4] || "mishoo/UglifyJS2");
|
||||||
var concurrency = process.argv[5] || 1;
|
var concurrency = process.argv[5] || 1;
|
||||||
var platform = process.argv[6] || "node/latest";
|
var platform = process.argv[6] || "latest";
|
||||||
(function request() {
|
(function request() {
|
||||||
setTimeout(request, (period + wait) / concurrency);
|
setTimeout(request, (period + wait) / concurrency);
|
||||||
var options = url.parse("https://api.travis-ci.org/repo/" + repository + "/requests");
|
var options = url.parse("https://api.travis-ci.org/repo/" + repository + "/requests");
|
||||||
|
|
@ -37,7 +37,7 @@ if (process.argv[2] == "run") {
|
||||||
branch: branch,
|
branch: branch,
|
||||||
config: {
|
config: {
|
||||||
cache: false,
|
cache: false,
|
||||||
env: "NODEJS_VER=" + platform,
|
env: "NODE=" + platform,
|
||||||
script: "node test/travis-ufuzz run"
|
script: "node test/travis-ufuzz run"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user