@@ -196,69 +196,6 @@ module.exports = function(grunt) {
196
196
}
197
197
} ,
198
198
199
- 'saucelabs-mocha' : {
200
- all : {
201
- options : {
202
- urls : [
203
- 'http://127.0.0.1:9999/test/index.html' ,
204
- 'http://127.0.0.1:9999/test/integration/index.html'
205
- ] ,
206
- sauceConfig : {
207
- 'record-video' : false ,
208
- 'record-screenshots' : false
209
- } ,
210
- build : process . env . TRAVIS_BUILD_NUMBER ,
211
- // On average, our integration tests take 60s to run
212
- // and unit tests about 30s, which gives us 90s in total
213
- // And even though we are running 2 tests in parallel, it's safer to assume
214
- // 90s * 7 browsers = ~10 minutes (plus some additional time, just in case)
215
- // Therefore 200 * 3000ms = 10min
216
- statusCheckAttempts : 200 ,
217
- pollInterval : 3000 ,
218
- testname :
219
- 'Raven.js' +
220
- ( process . env . TRAVIS_JOB_NUMBER ? ' #' + process . env . TRAVIS_JOB_NUMBER : '' ) ,
221
- browsers : [
222
- // Latest version of Edge (v15) can't reach the server, so we use v14 for now instead
223
- // Already notified SauceLabs support about this issue
224
- [ 'Windows 10' , 'microsoftedge' , 'latest-1' ] ,
225
-
226
- // We can skip IE11 on Win7, as there are no differences that'd change anything for us
227
- // https://msdn.microsoft.com/library/dn394063(v=vs.85).aspx#unsupported_features
228
- [ 'Windows 10' , 'internet explorer' , '11' ] ,
229
- [ 'Windows 7' , 'internet explorer' , '10' ] ,
230
- [ 'Windows 10' , 'chrome' , 'latest' ] ,
231
- [ 'Windows 10' , 'firefox' , 'latest' ] ,
232
- [ 'macOS 10.12' , 'safari' , '10.0' ] ,
233
- [ 'macOS 10.12' , 'iphone' , '10.0' ] ,
234
- [ 'Linux' , 'android' , '4.4' ] ,
235
- [ 'Linux' , 'android' , '5.1' ]
236
-
237
- // grunt-saucelabs (or SauceLabs REST API?) doesn't allow for passing device attribute at the moment
238
- // and it's required for Android 6.0/7.1 - https://wiki.saucelabs.com/display/DOCS/2017/03/31/Android+6.0+and+7.0+Support+Released
239
- // Notified SauceLabs support as well, so hopefully it'll be resolved soon
240
- // {
241
- // browserName: 'Chrome',
242
- // platform: 'Android',
243
- // version: '6.0',
244
- // device: 'Android Emulator'
245
- // }, {
246
- // browserName: 'Chrome',
247
- // platform: 'Android',
248
- // version: '7.1',
249
- // device: 'Android GoogleAPI Emulator'
250
- // }
251
- ] ,
252
- public : 'public' ,
253
- tunnelArgs : [ '--verbose' ] ,
254
- onTestComplete : function ( result , callback ) {
255
- console . log ( result ) ;
256
- callback ( null ) ;
257
- }
258
- }
259
- }
260
- } ,
261
-
262
199
release : {
263
200
options : {
264
201
npm : false ,
@@ -291,12 +228,6 @@ module.exports = function(grunt) {
291
228
} ,
292
229
293
230
connect : {
294
- ci : {
295
- options : {
296
- port : 9999
297
- }
298
- } ,
299
-
300
231
test : {
301
232
options : {
302
233
port : 8000 ,
@@ -389,7 +320,6 @@ module.exports = function(grunt) {
389
320
grunt . loadNpmTasks ( 'grunt-s3' ) ;
390
321
grunt . loadNpmTasks ( 'grunt-gitinfo' ) ;
391
322
grunt . loadNpmTasks ( 'grunt-sri' ) ;
392
- grunt . loadNpmTasks ( 'grunt-saucelabs' ) ;
393
323
394
324
// Build tasks
395
325
grunt . registerTask ( '_prep' , [ 'clean' , 'gitinfo' , 'version' ] ) ;
@@ -412,12 +342,7 @@ module.exports = function(grunt) {
412
342
grunt . registerTask ( 'build' , [ 'build.plugins-combined' ] ) ;
413
343
grunt . registerTask ( 'dist' , [ 'build.core' , 'copy:dist' ] ) ;
414
344
415
- grunt . registerTask ( 'test:ci' , [
416
- 'config:ci' ,
417
- 'build.test' ,
418
- 'connect:ci' ,
419
- 'saucelabs-mocha'
420
- ] ) ;
345
+ grunt . registerTask ( 'test:ci' , [ 'config:ci' , 'build.test' ] ) ;
421
346
422
347
// Webserver tasks
423
348
grunt . registerTask ( 'run:test' , [ 'build.test' , 'connect:test' ] ) ;
0 commit comments