module.exports = function(config) {
  config.set({
    frameworks: [ 'hydro' ],
    singleRun: true,
    browsers: [
      'PhantomJS',
      'Chrome',
      'Firefox',
      'Safari'
    ],
    files: [
      'test/*.js'
    ],
    hydro: {
      before: [
        'build/build.js',
      ]
    },
    client: {
      hydro: {
        setup: true,
        suite: 'hydro-require',
        plugins: [ 'hydro-require' ],
        proxies: {
          test: 'addTest'
        },
        require: {
          'assert': 'simple-assert'
        },
      }
    },
  });
};

module.exports = function(config) {
  var browsers = process.env.TRAVIS
    ? [ 'PhantomJS' ]
    : [ 'PhantomJS', 'Chrome', 'Firefox', 'Safari' ];

  config.set({
    frameworks: [ 'hydro' ],
    singleRun: true,
    browsers: browsers,
    files: [
      'test/*.js'
    ],
    hydro: {
      before: [
        'build/build.js',
      ]
    },
    client: {
      hydro: {
        setup: true,
        suite: 'hydro-require',
        plugins: [ 'hydro-require' ],
        proxies: {
          test: 'addTest'
        },
        require: {
          'assert': 'simple-assert'
        },
      }
    },
  });
};

Make karma pick up only PhantomJS when on Travis CI
Make karma pick up only PhantomJS when on Travis CI
