OLD | NEW |
1 // Karma configuration | 1 // Karma configuration |
2 // Generated on Mon Apr 20 2015 06:33:20 GMT-0700 (PDT) | 2 // Generated on Mon Apr 20 2015 06:33:20 GMT-0700 (PDT) |
3 | 3 |
4 module.exports = function(config) { | 4 module.exports = function(config) { |
5 var configuration = { | 5 var configuration = { |
6 | 6 |
7 // base path that will be used to resolve all patterns (eg. files, exclude) | 7 // base path that will be used to resolve all patterns (eg. files, exclude) |
8 basePath: '', | 8 basePath: '', |
9 | 9 |
10 // frameworks to use | 10 // frameworks to use |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 if (process.env.TRAVIS) { | 83 if (process.env.TRAVIS) { |
84 configuration.browsers = ['chrome_canary_travis']; | 84 configuration.browsers = ['chrome_canary_travis']; |
85 configuration.autoWatch = false; | 85 configuration.autoWatch = false; |
86 // Enable this for more logging on Travis. It is too much for Travis to | 86 // Enable this for more logging on Travis. It is too much for Travis to |
87 // automatically display, but still results in a downloadable raw log. | 87 // automatically display, but still results in a downloadable raw log. |
88 // configuration.logLevel = config.LOG_DEBUG; | 88 // configuration.logLevel = config.LOG_DEBUG; |
89 configuration.client.captureConsole = true; | 89 configuration.client.captureConsole = true; |
90 } | 90 } |
91 | 91 |
| 92 if (process.env.DDC_BROWSERS) { |
| 93 configuration.browsers = process.env.DDC_BROWSERS.split(':'); |
| 94 } |
| 95 |
92 config.set(configuration); | 96 config.set(configuration); |
93 }; | 97 }; |
OLD | NEW |