aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-06-16 12:12:41 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-06-16 12:12:41 +0200
commit7419a915b20b7fa4af8f8a33beaebda4a1e49a8d (patch)
tree23bf5b00a54d6796122f90a2a5a1590670924a30 /build/tasks
parent42599a60016ace7765c4dfe763b5b16999e5f937 (diff)
downloadjquery-ui-7419a915b20b7fa4af8f8a33beaebda4a1e49a8d.tar.gz
jquery-ui-7419a915b20b7fa4af8f8a33beaebda4a1e49a8d.zip
Grunt: Add all jQuery versions to test 1.9 beta against to testswarm-multi-jquery task
Diffstat (limited to 'build/tasks')
-rw-r--r--build/tasks/testswarm.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js
index c0a5f351f..118887ca6 100644
--- a/build/tasks/testswarm.js
+++ b/build/tasks/testswarm.js
@@ -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() );
});