@@ -48,115 +48,73 @@ module.exports = (grunt) ->
48
48
jshintrc : " .jshintrc"
49
49
50
50
qunit :
51
- all : [" test/index.html" , " test/index-jquery-ui-1-10.html" ]
52
-
53
- # replace: # grunt-text-replace
54
- # production:
55
- # src: ["build/**/*.js"]
56
- # overwrite : true
57
- # replacements: [ {
58
- # from : /@DATE/g
59
- # # https://github.com/felixge/node-dateformat
60
- # to : "<%= grunt.template.today('isoUtcDateTime') %>"
61
- # },{
62
- # from : /buildType:\s*\"[a-zA-Z]+\"/g
63
- # to : "buildType: \"production\""
64
- # },{
65
- # from : /debugLevel:\s*[0-9]/g
66
- # to : "debugLevel: 1"
67
- # } ]
68
- # release:
69
- # src: ["dist/**/*.js"]
70
- # overwrite : true
71
- # replacements: [ {
72
- # from : /@VERSION/g
73
- # to : "<%= pkg.version %>"
74
- # } ]
51
+ all : [
52
+ " test/test-jquery-3-ui-1.12.html" ,
53
+ " test/test-jquery-1.12-ui-1.12.html" ,
54
+ " test/test-jquery-1.11-ui-1.11.html" ,
55
+ " test/test-jquery-1.9-ui-1.10.html" ,
56
+ ]
75
57
76
58
" saucelabs-qunit" :
77
- ui_10 :
59
+ options :
60
+ build : process .env .TRAVIS_JOB_ID
61
+ throttled : 5
62
+ # statusCheckAttempts: 180
63
+ recordVideo : false
64
+ videoUploadOnPass : false
65
+
66
+ ui_12 :
78
67
options :
68
+ testname : " jquery.ui-contextmenu qunit tests (jQuery UI 12)"
79
69
urls : [
80
- # "http://localhost:9999/test/index.html",
81
- " http://localhost:9999/test/test-jquery-1.9-ui-1.10.html"
70
+ " http://localhost:9999/test/test-jquery-3-ui-1.12.html"
82
71
]
83
- build : process .env .TRAVIS_JOB_ID
84
- throttled : 5
85
72
browsers : [
86
73
{ browserName : " chrome" , platform : " Windows 8.1" }
87
- # { browserName: "firefox", platform: "Windows 8.1" }
74
+ { browserName : " firefox" , platform : " Windows 8.1" }
88
75
{ browserName : " firefox" , platform : " Linux" }
89
- # { browserName: "internet explorer", version: "6", platform: "Windows XP" }
90
- # { browserName: "internet explorer", version: "7", platform: "Windows XP" }
91
- # { browserName: "internet explorer", version: "8", platform: "Windows 7" }
76
+ # jQuery UI 12+ stopped support for IE <= 10
92
77
{ browserName : " internet explorer" , version : " 11" , platform : " Windows 8.1" }
93
78
{ browserName : " microsoftedge" , platform : " Windows 10" }
94
- # { browserName: "safari", version: "9", platform: "OS X 10.11" }
79
+ # { browserName: "safari", version: "6", platform: "OS X 10.8" }
80
+ # { browserName: "safari", version: "7", platform: "OS X 10.9" }
81
+ # { browserName: "safari", version: "8", platform: "OS X 10.10" }
82
+ { browserName : " safari" , version : " 9" , platform : " OS X 10.11" }
95
83
{ browserName : " safari" , version : " 10" , platform : " OS X 10.12" }
84
+ { browserName : " safari" , version : " 11" , platform : " OS X 10.12" }
96
85
]
97
- testname : " jquery.ui-contextmenu qunit tests (jQuery UI 10)"
98
- # statusCheckAttempts: 180
99
- recordVideo : false
100
- videoUploadOnPass : false
101
86
102
- ui_11 : # UI Menu 11+ dropped support for IE7
87
+ ui_11 : # UI Menu 11+ dropped support for IE7
103
88
options :
89
+ testname : " jquery.ui-contextmenu qunit tests (jQuery UI 11+)"
104
90
urls : [
105
91
" http://localhost:9999/test/test-jquery-1.11-ui-1.11.html"
106
- # "http://localhost:9999/test/index.html",
107
- # "http://localhost:9999/test/index-jquery-ui-1-10.html"
108
92
]
109
-
110
- # username: process.env.SAUCE_USERNAME,
111
- # key: process.env.SAUCE_ACCESS_KEY,
112
- build : process .env .TRAVIS_JOB_ID
113
- throttled : 5
114
93
browsers : [
115
94
{ browserName : " chrome" , platform : " Windows 8.1" }
116
- # { browserName: "firefox", platform: "Windows 8.1" }
117
- # { browserName: "firefox", platform: "Windows XP" }
118
95
{ browserName : " firefox" , platform : " Linux" }
119
96
# jQuery UI 11+ stopped support for IE <= 7
120
97
{ browserName : " internet explorer" , version : " 8" , platform : " Windows 7" }
121
98
{ browserName : " internet explorer" , version : " 9" , platform : " Windows 7" }
122
99
{ browserName : " internet explorer" , version : " 10" , platform : " Windows 8" }
123
100
{ browserName : " internet explorer" , version : " 11" , platform : " Windows 8.1" }
124
101
{ browserName : " microsoftedge" , platform : " Windows 10" }
125
- # { browserName: "safari", version: "6", platform: "OS X 10.8" }
126
- # { browserName: "safari", version: "7", platform: "OS X 10.9" }
127
- # { browserName: "safari", version: "8", platform: "OS X 10.10" }
128
- # { browserName: "safari", version: "9", platform: "OS X 10.11" }
129
102
{ browserName : " safari" , version : " 10" , platform : " OS X 10.12" }
130
103
]
131
- testname : " jquery.ui-contextmenu qunit tests (jQuery UI 11+)"
132
- # statusCheckAttempts: 180
133
- recordVideo : false
134
- videoUploadOnPass : false
135
104
136
- ui_12 :
105
+ ui_10 :
137
106
options :
107
+ testname : " jquery.ui-contextmenu qunit tests (jQuery UI 10)"
138
108
urls : [
139
- " http://localhost:9999/test/test-jquery-3 -ui-1.12 .html"
109
+ " http://localhost:9999/test/test-jquery-1.9 -ui-1.10 .html"
140
110
]
141
- build : process .env .TRAVIS_JOB_ID
142
- throttled : 5
143
111
browsers : [
144
112
{ browserName : " chrome" , platform : " Windows 8.1" }
145
- { browserName : " firefox" , platform : " Windows 8.1" }
146
113
{ browserName : " firefox" , platform : " Linux" }
147
- # jQuery UI 12+ stopped support for IE <= 10
148
114
{ browserName : " internet explorer" , version : " 11" , platform : " Windows 8.1" }
149
115
{ browserName : " microsoftedge" , platform : " Windows 10" }
150
- # { browserName: "safari", version: "6", platform: "OS X 10.8" }
151
- # { browserName: "safari", version: "7", platform: "OS X 10.9" }
152
- # { browserName: "safari", version: "8", platform: "OS X 10.10" }
153
- { browserName : " safari" , version : " 9" , platform : " OS X 10.11" }
154
116
{ browserName : " safari" , version : " 10" , platform : " OS X 10.12" }
155
117
]
156
- testname : " jquery.ui-contextmenu qunit tests (jQuery UI 12)"
157
- # statusCheckAttempts: 180
158
- recordVideo : false
159
- videoUploadOnPass : false
160
118
161
119
uglify :
162
120
options :
0 commit comments