You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
471B

  1. module.exports = function(config) {
  2. var configuration = {
  3. browsers: ['Firefox'],
  4. customLaunchers: {
  5. Chrome_travis_ci: {
  6. base: 'Chrome',
  7. flags: ['--no-sandbox']
  8. }
  9. },
  10. frameworks: ['browserify', 'jasmine'],
  11. reporters: ['progress', 'html'],
  12. preprocessors: {
  13. 'src/**/*.js': ['browserify']
  14. },
  15. browserify: {
  16. debug: true
  17. }
  18. };
  19. if (process.env.TRAVIS) {
  20. configuration.browsers.push('Chrome_travis_ci');
  21. }
  22. config.set(configuration);
  23. };