<commit_before>module.exports = function(_, path, grunt) {// jshint ignore: line
  'use strict';

  var capabilities = [];
  grunt.config('angularToolbox.e2eBrowsers').forEach(function(browser) {
    capabilities.push({
      browserName: browser.toLowerCase(),
      platform: 'OS X 10.10'
    });
  });

  var hook = grunt.config('angularToolbox.hooks.e2eCapabilities');
  if (_.isFunction(hook)) {
    capabilities = hook(capabilities);
  }

  capabilities.forEach(function(capability) {
    if (process.env.TRAVIS_JOB_NUMBER && !capability['tunnel-identifier']) {
      capability['tunnel-identifier'] = process.env.TRAVIS_JOB_NUMBER;
    }

    if (!capability.build) {
      capability.build = grunt.config('pkg.name');
      if (process.env.TRAVIS_BUILD_NUMBER) {
        capability.build += '#' + process.env.TRAVIS_BUILD_NUMBER;
      }
    }
  });

  /* Workaround until https://github.com/teerapap/grunt-protractor-runner/pull/62 */
  process.env.GAT_PROTRACTOR_CAPABILITIES = JSON.stringify(capabilities);
  process.env.USE_SAUCELABS = grunt.config('angularToolbox.saucelabs');
  process.env.GAT_PROTRACTOR_REPORTER = JSON.stringify(<commit_msg>chore: stop requireing OSX for protractor tests<commit_after>module.exports = function(_, path, grunt) {// jshint ignore: line
  'use strict';

  var capabilities = [];
  grunt.config('angularToolbox.e2eBrowsers').forEach(function(browser) {
    capabilities.push({
      browserName: browser.toLowerCase()
    });
  });

  var hook = grunt.config('angularToolbox.hooks.e2eCapabilities');
  if (_.isFunction(hook)) {
    capabilities = hook(capabilities);
  }

  capabilities.forEach(function(capability) {
    if (process.env.TRAVIS_JOB_NUMBER && !capability['tunnel-identifier']) {
      capability['tunnel-identifier'] = process.env.TRAVIS_JOB_NUMBER;
    }

    if (!capability.build) {
      capability.build = grunt.config('pkg.name');
      if (process.env.TRAVIS_BUILD_NUMBER) {
        capability.build += '#' + process.env.TRAVIS_BUILD_NUMBER;
      }
    }
  });

  /* Workaround until https://github.com/teerapap/grunt-protractor-runner/pull/62 */
  process.env.GAT_PROTRACTOR_CAPABILITIES = JSON.stringify(capabilities);
  process.env.USE_SAUCELABS = grunt.config('angularToolbox.saucelabs');
  process.env.GAT_PROTRACTOR_REPORTER = JSON.stringify(
{'fraction_non_alphanumeric': 0.14236410698878343, 'fraction_numerical': 0.005176876617773943, 'mean_word_length': 4.063318777292577, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4298960', 'n_tokens_mistral': 789, 'n_tokens_neox': 779, 'n_words': 99}