diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2019-10-12 05:36:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-12 05:36:38 +0800 |
commit | 516b67a43b205229d95f039a4d3fb604645c67f2 (patch) | |
tree | 9e9e60381c4103fb3e24a2861e667807a35466e3 /test | |
parent | eba3a37bb510320ba95f27021c35c9fb83375b08 (diff) | |
download | tracifyjs-516b67a43b205229d95f039a4d3fb604645c67f2.tar.gz tracifyjs-516b67a43b205229d95f039a4d3fb604645c67f2.zip |
minor tweaks to CI test scripts (#3467)
Diffstat (limited to 'test')
-rw-r--r-- | test/benchmark.js | 3 | ||||
-rw-r--r-- | test/travis-ufuzz.js | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/benchmark.js b/test/benchmark.js index 63009dd8..38aed13d 100644 --- a/test/benchmark.js +++ b/test/benchmark.js @@ -94,3 +94,6 @@ urls.forEach(function(url) { }); }); }); +setInterval(function() { + process.stderr.write("\0"); +}, 5 * 60 * 1000).unref(); diff --git a/test/travis-ufuzz.js b/test/travis-ufuzz.js index 92268420..22dcca93 100644 --- a/test/travis-ufuzz.js +++ b/test/travis-ufuzz.js @@ -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" } } |