aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulie2014-02-19 21:01:54 -0800
committerJulie2014-02-21 16:57:04 -0800
commit39c82f3fb7a8459304d5e07dc87bd0623ad1efd0 (patch)
treecff2cb48fa3199d40ab292cca9ddf5ee4ef5505e /lib
parent1293cc88cd3d2e72c55fa8b8d268fab246e79fed (diff)
downloadangular.js-39c82f3fb7a8459304d5e07dc87bd0623ad1efd0.tar.bz2
chore(travis): reorganize protractor configs to group by spec instead of by browser
Use the multiConfiguration ability of Protractor to start tests on multiple browsers from the same travis cell. Group tests by type (jquery, jqlite, or docs tests) instead of by browser. Turn on tests for jQuery.
Diffstat (limited to 'lib')
-rw-r--r--lib/grunt/utils.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js
index 1c356c18..b9affd82 100644
--- a/lib/grunt/utils.js
+++ b/lib/grunt/utils.js
@@ -247,14 +247,15 @@ module.exports = {
var tunnelIdentifier = grunt.option('capabilities.tunnel-identifier');
var sauceBuild = grunt.option('capabilities.build');
var browser = grunt.option('browser');
+ var specs = grunt.option('specs');
var args = ['node_modules/protractor/bin/protractor', config];
if (sauceUser) args.push('--sauceUser=' + sauceUser);
if (sauceKey) args.push('--sauceKey=' + sauceKey);
if (tunnelIdentifier) args.push('--capabilities.tunnel-identifier=' + tunnelIdentifier);
if (sauceBuild) args.push('--capabilities.build=' + sauceBuild);
+ if (specs) args.push('--specs=' + specs);
if (browser) {
args.push('--browser=' + browser);
- args.push('--params.browser=' + browser);
}