mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
Build: Fix testswarm task, use API correctly
This commit is contained in:
parent
4752ee9a6c
commit
9fad37d3b6
@ -51,8 +51,6 @@ function submit( commit, runs, configFile, extra, done ) {
|
|||||||
|
|
||||||
testswarm.createClient({
|
testswarm.createClient({
|
||||||
url: config.swarmUrl,
|
url: config.swarmUrl,
|
||||||
pollInterval: 10000,
|
|
||||||
timeout: 1000 * 60 * 45
|
|
||||||
})
|
})
|
||||||
.addReporter( testswarm.reporters.cli )
|
.addReporter( testswarm.reporters.cli )
|
||||||
.auth({
|
.auth({
|
||||||
@ -63,7 +61,8 @@ function submit( commit, runs, configFile, extra, done ) {
|
|||||||
name: "Commit <a href='" + commitUrl + "'>" + commit.substr( 0, 10 ) + "</a>" + extra,
|
name: "Commit <a href='" + commitUrl + "'>" + commit.substr( 0, 10 ) + "</a>" + extra,
|
||||||
runs: runs,
|
runs: runs,
|
||||||
runMax: config.runMax,
|
runMax: config.runMax,
|
||||||
browserSets: [ "popular-ui" ]
|
browserSets: [ "popular-ui" ],
|
||||||
|
timeout: 1000 * 60 * 30
|
||||||
}, function( error, passed ) {
|
}, function( error, passed ) {
|
||||||
if ( error ) {
|
if ( error ) {
|
||||||
grunt.log.error( error );
|
grunt.log.error( error );
|
||||||
|
Loading…
Reference in New Issue
Block a user