Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f5d6b1a

Browse files
committedJul 5, 2018
add node-chakracore to Travis CI
1 parent b468103 commit f5d6b1a

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed
 

‎.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414
global:
1515
- UGLIFYJS_TEST_ALL=1
1616
matrix:
17+
- NODEJS_VER=chakracore/latest
1718
- NODEJS_VER=node/0.10
1819
- NODEJS_VER=node/0.12
1920
- NODEJS_VER=node/4

‎appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
environment:
22
UGLIFYJS_TEST_ALL: 1
33
matrix:
4+
- NODEJS_VER: chakracore/latest
45
- NODEJS_VER: node/0.10
56
- NODEJS_VER: node/0.12
67
- NODEJS_VER: node/4

‎test/travis-ufuzz.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if (process.argv[2] == "run") {
1515
var branch = process.argv[3] || "v" + require("../package.json").version;
1616
var repository = encodeURIComponent(process.argv[4] || "mishoo/UglifyJS2");
1717
var concurrency = process.argv[5] || 1;
18+
var platform = process.argv[6] || "node/latest";
1819
(function request() {
1920
setTimeout(request, (period + wait) / concurrency);
2021
var options = url.parse("https://api.travis-ci.org/repo/" + repository + "/requests");
@@ -32,20 +33,18 @@ if (process.argv[2] == "run") {
3233
res.on("data", console.log);
3334
}).on("error", console.error).end(JSON.stringify({
3435
request: {
35-
message: "ufuzz testing (when idle)",
36+
message: "ufuzz testing",
3637
branch: branch,
3738
config: {
38-
merge_mode: "replace",
39-
language: "node_js",
40-
node_js: "9",
41-
sudo: false,
39+
cache: false,
40+
env: "NODEJS_VER=" + platform,
4241
script: "node test/travis-ufuzz run"
4342
}
4443
}
4544
}));
4645
})();
4746
} else {
48-
console.log("Usage: test/travis-ufuzz.js <token> [branch] [repository] [concurrency]");
47+
console.log("Usage: test/travis-ufuzz.js <token> [branch] [repository] [concurrency] [platform]");
4948
}
5049

5150
function spawn(endTime) {

0 commit comments

Comments
 (0)
Please sign in to comment.