File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 14
14
global :
15
15
- UGLIFYJS_TEST_ALL=1
16
16
matrix :
17
+ - NODEJS_VER=chakracore/latest
17
18
- NODEJS_VER=node/0.10
18
19
- NODEJS_VER=node/0.12
19
20
- NODEJS_VER=node/4
Original file line number Diff line number Diff line change 1
1
environment :
2
2
UGLIFYJS_TEST_ALL : 1
3
3
matrix :
4
+ - NODEJS_VER : chakracore/latest
4
5
- NODEJS_VER : node/0.10
5
6
- NODEJS_VER : node/0.12
6
7
- NODEJS_VER : node/4
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ if (process.argv[2] == "run") {
15
15
var branch = process . argv [ 3 ] || "v" + require ( "../package.json" ) . version ;
16
16
var repository = encodeURIComponent ( process . argv [ 4 ] || "mishoo/UglifyJS2" ) ;
17
17
var concurrency = process . argv [ 5 ] || 1 ;
18
+ var platform = process . argv [ 6 ] || "node/latest" ;
18
19
( function request ( ) {
19
20
setTimeout ( request , ( period + wait ) / concurrency ) ;
20
21
var options = url . parse ( "https://api.travis-ci.org/repo/" + repository + "/requests" ) ;
@@ -32,20 +33,18 @@ if (process.argv[2] == "run") {
32
33
res . on ( "data" , console . log ) ;
33
34
} ) . on ( "error" , console . error ) . end ( JSON . stringify ( {
34
35
request : {
35
- message : "ufuzz testing (when idle) " ,
36
+ message : "ufuzz testing" ,
36
37
branch : branch ,
37
38
config : {
38
- merge_mode : "replace" ,
39
- language : "node_js" ,
40
- node_js : "9" ,
41
- sudo : false ,
39
+ cache : false ,
40
+ env : "NODEJS_VER=" + platform ,
42
41
script : "node test/travis-ufuzz run"
43
42
}
44
43
}
45
44
} ) ) ;
46
45
} ) ( ) ;
47
46
} 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] " ) ;
49
48
}
50
49
51
50
function spawn ( endTime ) {
You can’t perform that action at this time.
0 commit comments