Grunt: Add all jQuery versions to test 1.9 beta against to testswarm-multi-jquery task

This commit is contained in:
Jörn Zaefferer 2012-06-16 12:12:41 +02:00
parent 42599a6001
commit 7419a915b2

View File

@ -62,14 +62,12 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
});
grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile ) {
var test,
allTests = {};
for ( test in tests ) {
allTests[ test + "-1.6.3" ] = tests[ test ] + "?nojshint=true&jquery=1.6.3";
}
for ( test in tests ) {
allTests[ test + "-1.7.2" ] = tests[ test ] + "?nojshint=true&jquery=1.7.2";
}
var allTests = {};
"1.6 1.6.1 1.6.3 1.6.4 1.7 1.7.1 1.7.2 git".split(" ").forEach(function( version ) {
for ( var test in tests ) {
allTests[ test + "-" + version ] = tests[ test ] + "?nojshint=true&jquery=" + version;
}
});
submit( commit, allTests, configFile, this.async() );
});