frameworks = ['jasmine'];

files = [
  'src/*.js',
  'test/*.js'
];

browsers = process.env.TRAVIS ? ['Firefox'] : ['Chrome'];

plugins = [
  'karma-jasmine',
  'karma-chrome-launcher',
  'karma-firefox-launcher'
];

autoWatch = true;

module.exports = function(config) {
  config.set({
    frameworks: ['jasmine'],

    files: [
      'src/*.js',
      'test/*.js'
    ],

    browsers: process.env.TRAVIS ? ['Firefox'] : ['Chrome'],

    autoWatch: true
  });
};

update karma config to match 0.9.4 style