old_contents: var fs = require('fs');
  
  module.exports = function(config) {
  
    if (!process.env.SAUCE_USERNAME || !process.env.SAUCE_ACCESS_KEY) {
      console.log('Make sure the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables are set.');
      process.exit(1);
    }
  
    var customLaunchers = {
      sl_chrome: {
        base: 'SauceLabs',
        browserName: 'chrome',
        platform: 'Windows 7',
        version: '35'
      },
      sl_firefox: {
        base: 'SauceLabs',
        browserName: 'firefox',
        version: '30'
      },
      sl_ios_safari: {
        base: 'SauceLabs',
        browserName: 'iphone',
        platform: 'OS X 10.9',
        version: '7.1'
      },
      sl_ie_11: {
        base: 'SauceLabs',
        browserName: 'internet explorer',
        platform: 'Windows 8.1',
        version: '11'
      }
    };
  
    config.set({
  
      basePath: '',
  
  
      frameworks: ['mocha', 'chai', 'effroi', 'phantomjs-shim'],
  
  
      files: [
        'html/**/*.html',
        'lib/**/*.js',
        'specs/**/*.js'
      ],
  
  
      exclude: [
        '**/*.swp'
      ],
  
  
      preprocessors: {
        'html/**/*.html' : 'html2js'         
      },
  
  
      reporters: ['mocha', 'saucelabs'],
  
  
      port: 9876,
  
  
      colors: true,
  
  
      logLevel: config.LOG_DEBUG,
  
  
      sauceLabs: {
        testName: 'sDomQuery test',
        startConnect: false,
        connectOptions: {
          port: 5757,
          logfile: 'sauce_connect.log'
        }      
      },
      captureTimeout: 120000,
      customLaunchers: customLaunchers,
      browsers: Object.keys(customLaunchers),
  
  
      singleRun: true
  
    });
  };
  
new_contents: var fs = require('fs');
  
  module.exports = function(config) {
  
    if (!process.env.SAUCE_USERNAME || !process.env.SAUCE_ACCESS_KEY) {
      console.log('Make sure the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables are set.');
      process.exit(1);
    }
  
    var customLaunchers = {
      sl_chrome: {
        base: 'SauceLabs',
        browserName: 'chrome',
        platform: 'Windows 7',
        version: '35'
      },
      sl_firefox: {
        base: 'SauceLabs',
        browserName: 'firefox',
        version: '30'
      },
      sl_ios_safari: {
        base: 'SauceLabs',
        browserName: 'iphone',
        platform: 'OS X 10.9',
        version: '7.1'
      },
      sl_ie_11: {
        base: 'SauceLabs',
        browserName: 'internet explorer',
        platform: 'Windows 8.1',
        version: '11'
      }
    };
  
    config.set({
  
      basePath: '',
  
  
      frameworks: ['mocha', 'chai', 'effroi', 'phantomjs-shim'],
  
  
      files: [
        'html/**/*.html',
        'lib/**/*.js',
        'specs/**/*.js'
      ],
  
  
      exclude: [
        '**/*.swp'
      ],
  
  
      preprocessors: {
        'html/**/*.html' : 'html2js'         
      },
  
  
      reporters: ['mocha', 'saucelabs'],
  
  
      port: 9876,
  
  
      colors: true,
  
  
      logLevel: config.LOG_DEBUG,
  
  
      sauceLabs: {
        testName: 'sDomQuery test',
        //startConnect: false,
        connectOptions: {
          port: 5757,
          logfile: 'sauce_connect.log'
        }      
      },
      captureTimeout: 120000,
      customLaunchers: customLaunchers,
      browsers: Object.keys(customLaunchers),
  
  
      singleRun: true
  
    });
  };
  
subject: Test sauce with travis