<commit_before>/**
 *
 */
var fs = require('fs');

var commonConfig = require('./karma.common.conf.js');
var assign = require('object-assign');

var browsers = {
    sl_chrome: {
        base: 'SauceLabs',
        browserName: 'chrome',
        platform: 'Windows 7',
        version: '35'
    },
    sl_firefox: {
        base: 'SauceLabs',
        browserName: 'firefox',
        version: '30'
    },
    sl_safari: {
        base: 'SauceLabs',
        browserName: 'safari',
        version: '8'
    },
    sl_ie_11: {
        base: 'SauceLabs',
        browserName: 'internet explorer',
        platform: 'Windows 8.1',
        version: '11'
    },
    sl_ie_10: {
        base: 'SauceLabs',
        browserName: 'internet explorer',
        platform: 'Windows 8',
        version: '10'
    },
    sl_ie_9: {
        base: 'SauceLabs',
        browserName: 'internet explorer',
        platform: 'Windows 7',
        version: '9'
    }
};

// Use ENV vars on Travis and sauce.json locally to get credentials
  if (!process.env.SAUCE_USERNAME) {
    if (!fs.existsSync('local-sauce.json')) {
      console.log('Create a sauce.json with your credentials based on the sauce-sample.json file.');
      process.exit(1);
    } else {
      process.env.SAUCE_USERNAME = require('./local-sauce').username;
      process.env.SAUCE_ACCESS_KEY = require('./local-sauce').accessKey;
    }
  }

module.exports = function(config) {
  config.set(assign(commonConfig, {
      reporters: ['saucelabs', 'spec'],
      browsers: Object.keys(browsers),
      customLaunchers: browsers,
      singleRun: true,
  }));
};<commit_msg>Report github issue and remove ie 9<commit_after>/**
 *
 */
var fs = require('fs');

var commonConfig = require('./karma.common.conf.js');
var assign = require('object-assign');

var browsers = {
    sl_chrome: {
        base: 'SauceLabs',
        browserName: 'chrome',
        platform: 'Windows 7',
        version: '35'
    },
    sl_firefox: {
        base: 'SauceLabs',
        browserName: 'firefox',
        version: '30'
    },
    sl_safari: {
        base: 'SauceLabs',
        browserName: 'safari',
        version: '8'
    },
    sl_ie_11: {
        base: 'SauceLabs',
        browserName: 'internet explorer',
        platform: 'Windows 8.1',
        version: '11'
    },
    sl_ie_10: {
        base: 'SauceLabs',
        browserName: 'internet explorer',
        platform: 'Windows 8',
        version: '10'
    },
    // TODO: Sinon faker is not compatible with IE 9. Github issue: https://github.com/cjohansen/Sinon.JS/issues/715
    //sl_ie_9: {
    //    base: 'SauceLabs',
    //    browserName: 'internet explorer',
    //    platform: 'Windows 7',
    //    version: '9'
    }
};

// Use ENV vars on Travis and sauce.json locally to get credentials
  if (!process.env.SAUCE_USERNAME) {
    if (!fs.existsSync('local-sauce.json')) {
      console.log('Create a sauce.json with your credentials based on the sauce-sample.json file.');
      process.exit(1);
    } else {
      process.env.SAUCE_USERNAME = require('./local-sauce').username;
      process.env.SAUCE_ACCESS_KEY = require('./local-sauce').accessKey;
    }
  }

module.exports = function(config) {
  config.set(assign(commonConfig, {
      reporters: ['saucelabs', 'spec'],
      browsers: Object.keys(browsers),
      customLaunchers: browsers,
      singleRun: true
  }));
};
{'fraction_non_alphanumeric': 0.1484004739336493, 'fraction_numerical': 0.013921800947867298, 'mean_word_length': 2.346878097125867, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '4476406', 'n_tokens_mistral': 1163, 'n_tokens_neox': 1132, 'n_words': 244}