module.exports = function (config) {

  var customLaunchers = {
    // Sauce labs
    // 'SL_Chrome': {
    //   base: 'SauceLabs',
    //   browserName: 'chrome',
    //   version: '34'
    // },
    // 'SL_Firefox': {
    //   base: 'SauceLabs',
    //   browserName: 'firefox',
    //   version: '26'
    // },
    // 'SL_Safari': {
    //   base: 'SauceLabs',
    //   browserName: 'safari',
    //   platform: 'OS X 10.9',
    //   version: '7'
    // },
    // 'SL_IE_9': {
    //   base: 'SauceLabs',
    //   browserName: 'internet explorer',
    //   platform: 'Windows 2008',
    //   version: '9'
    // },
    // 'SL_IE_10': {
    //   base: 'SauceLabs',
    //   browserName: 'internet explorer',
    //   platform: 'Windows 2012',
    //   version: '10'
    // },
    // 'SL_IE_11': {
    //   base: 'SauceLabs',
    //   browserName: 'internet explorer',
    //   platform: 'Windows 8.1',
    //   version: '11'
    // },

    // BrowserStack
    'BS_Chrome': {
      base: 'BrowserStack',
      browser: 'chrome',
      os: 'OS X',
      os_version: 'Mountain Lion'
    },
    'BS_Safari': {
      base: 'BrowserStack',
      browser: 'safari',
      os: 'OS X',
      os_version: 'Mountain Lion'
    },
    'BS_Firefox': {
      base: 'BrowserStack',
      browser: 'firefox',
      os: 'Windows',
      os_version: '8'
    },
    'BS_IE_9': {
      base: 'BrowserStack',
      browser: 'ie',
      browser_version: '9.0',
      os: 'Windows',
      os_version: '7'
    },
    'BS_IE_10': {
      base: 'BrowserStack',
      browser: 'ie',
      browser_version: '10.0',
      os: 'Windows',
      os_version: '8'
    },
    'BS_IE_11': {
      base: 'BrowserStack',
      browser: 'ie',
      browser_version: '11.0',
      os: 'Windows',
      os_version: '8.1'
    }
  };

  config.set({

    browserStack: {
      username: process.env.BROWSER_STACK_USERNAME,
      accessKey: process.env.BROWSER_STACK_ACCESS_KEY
    },

    sauceLabs: {
      testName: 'Carpet.js Unit Tests'
    },

    basePath: '',

    frameworks: ['jasmine'],

    files: [
      'src/carpet.js',
      'tests/spec/carpet.test.js'
    ],

    exclude: [

    ],

    preprocessors: {},

    reporters: ['dots', 'saucelabs'],

    port: 9876,

    colors: true,

    logLevel: config.LOG_INFO,

    autoWatch: true,

    singleRun: true,

    customLaunchers: customLaunchers,

    browsers: Object.keys(customLaunchers)
  });
};
@@ -74,27 +74,24 @@
 uce labs%0A   
- //
  'SL_Chrome'
@@ -89,35 +89,32 @@
 L_Chrome': %7B%0A   
- //
    base: 'SauceL
@@ -114,35 +114,32 @@
 'SauceLabs',%0A   
- //
    browserName: 
@@ -147,27 +147,24 @@
 chrome',%0A   
- //
    version: 
@@ -167,37 +167,31 @@
 on: '34'%0A   
- //
  %7D,%0A   
- //
  'SL_Firefox
@@ -191,37 +191,34 @@
 Firefox': %7B%0A    
-//
   
- 
 base: 'SauceLabs
@@ -215,35 +215,32 @@
 'SauceLabs',%0A   
- //
    browserName: 
@@ -250,29 +250,26 @@
 refox',%0A    
-//
   
- 
 version: '26
@@ -269,37 +269,31 @@
 on: '26'%0A   
- //
  %7D,%0A   
- //
  'SL_Safari'
@@ -291,35 +291,32 @@
 L_Safari': %7B%0A   
- //
    base: 'SauceL
@@ -316,35 +316,32 @@
 'SauceLabs',%0A   
- //
    browserName: 
@@ -349,27 +349,24 @@
 safari',%0A   
- //
    platform:
@@ -378,27 +378,24 @@
 X 10.9',%0A   
- //
    version: 
@@ -397,37 +397,31 @@
 ion: '7'%0A   
- //
  %7D,%0A   
- //
  'SL_IE_9': 
@@ -417,35 +417,32 @@
 'SL_IE_9': %7B%0A   
- //
    base: 'SauceL
@@ -442,35 +442,32 @@
 'SauceLabs',%0A   
- //
    browserName: 
@@ -482,35 +482,32 @@
 t explorer',%0A   
- //
    platform: 'Wi
@@ -518,27 +518,24 @@
 s 2008',%0A   
- //
    version: 
@@ -537,37 +537,31 @@
 ion: '9'%0A   
- //
  %7D,%0A   
- //
  'SL_IE_10':
@@ -559,37 +559,34 @@
 L_IE_10': %7B%0A    
-//
   
- 
 base: 'SauceLabs
@@ -583,35 +583,32 @@
 'SauceLabs',%0A   
- //
    browserName: 
@@ -624,37 +624,34 @@
  explorer',%0A    
-//
   
- 
 platform: 'Windo
@@ -659,27 +659,24 @@
 s 2012',%0A   
- //
    version: 
@@ -687,21 +687,15 @@
 %0A   
- //
  %7D,%0A   
- //
  'SL
@@ -704,27 +704,24 @@
 E_11': %7B%0A   
- //
    base: 'Sa
@@ -733,19 +733,16 @@
 bs',%0A   
- //
    brows
@@ -773,19 +773,16 @@
 er',%0A   
- //
    platf
@@ -804,19 +804,16 @@
 .1',%0A   
- //
    versi
@@ -824,19 +824,16 @@
 '11'%0A   
- //
  %7D,%0A%0A   
@@ -1889,16 +1889,105 @@
 t Tests'
+,%0A      startConnect: true,%0A      options: %7B%0A        'selenium-version': '2.41.0'%0A      %7D
 %0A    %7D,%0A

check new sauce config