Skip to content

Commit

Permalink
add node-chakracore to Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlamsl committed Jul 5, 2018
1 parent b468103 commit f5d6b1a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
global:
- UGLIFYJS_TEST_ALL=1
matrix:
- NODEJS_VER=chakracore/latest
- NODEJS_VER=node/0.10
- NODEJS_VER=node/0.12
- NODEJS_VER=node/4
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
environment:
UGLIFYJS_TEST_ALL: 1
matrix:
- NODEJS_VER: chakracore/latest
- NODEJS_VER: node/0.10
- NODEJS_VER: node/0.12
- NODEJS_VER: node/4
Expand Down
11 changes: 5 additions & 6 deletions test/travis-ufuzz.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +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";
(function request() {
setTimeout(request, (period + wait) / concurrency);
var options = url.parse("https://api.travis-ci.org/repo/" + repository + "/requests");
Expand All @@ -32,20 +33,18 @@ if (process.argv[2] == "run") {
res.on("data", console.log);
}).on("error", console.error).end(JSON.stringify({
request: {
message: "ufuzz testing (when idle)",
message: "ufuzz testing",
branch: branch,
config: {
merge_mode: "replace",
language: "node_js",
node_js: "9",
sudo: false,
cache: false,
env: "NODEJS_VER=" + platform,
script: "node test/travis-ufuzz run"
}
}
}));
})();
} else {
console.log("Usage: test/travis-ufuzz.js <token> [branch] [repository] [concurrency]");
console.log("Usage: test/travis-ufuzz.js <token> [branch] [repository] [concurrency] [platform]");
}

function spawn(endTime) {
Expand Down

0 comments on commit f5d6b1a

Please sign in to comment.