File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11environment :
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
Original file line number Diff line number Diff 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
5150function spawn ( endTime ) {
You can’t perform that action at this time.
0 commit comments