File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,24 @@ grunt.initConfig({
337337 } ) ( )
338338} ) ;
339339
340+ grunt . registerTask ( "testswarm" , function ( commit , authToken ) {
341+ var testswarm = require ( "testswarm" ) ;
342+ var testBase = "http://swarm.jquery.org/git/jquery-ui/" + commit + "/" ;
343+ require ( "testswarm" ) ( {
344+ url : "http://swarm.jquery.org/api.php?" ,
345+ pollInterval : 2000 ,
346+ done : this . async ( )
347+ } , {
348+ authUsername : "jqueryui" ,
349+ authToken : authToken ,
350+ jobName : 'jQuery UI commit #<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit + '</a>' ,
351+ runMax : 1 ,
352+ "runNames[]" : [ "Accordion" , "Autocomplete" ] ,
353+ "runUrls[]" : [ testBase + "tests/unit/accordion/accordion.html" , testBase + "tests/unit/autocomplete/autocomplete.html" ] ,
354+ browserSets : "popular"
355+ } ) ;
356+ } ) ;
357+
340358grunt . registerMultiTask ( "copy" , "Copy files to destination folder and replace @VERSION with pkg.version" , function ( ) {
341359 function replaceVersion ( source ) {
342360 return source . replace ( / @ V E R S I O N / g, grunt . config ( "pkg.version" ) ) ;
Original file line number Diff line number Diff line change 3131 "grunt-compare-size" : " 0.1.4" ,
3232 "grunt-html" : " 0.1.1" ,
3333 "request" : " 2.9.153" ,
34- "rimraf" : " 2.0.1"
34+ "rimraf" : " 2.0.1" ,
35+ "testswarm" : " latest"
3536 },
3637 "keywords" : []
3738}
You can’t perform that action at this time.
0 commit comments