Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Side by Side Diff: karma.conf.js

Issue 1096253002: Travis workaround (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « .travis.yml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 config.set({ 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
11 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter 11 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
12 frameworks: ['mocha', 'requirejs', 'chai'], 12 frameworks: ['mocha', 'requirejs', 'chai'],
13 13
14 // list of files / patterns to load in the browser 14 // list of files / patterns to load in the browser
15 files: [ 15 files: [
(...skipping 27 matching lines...) Expand all
43 reporters: ['progress'], 43 reporters: ['progress'],
44 44
45 // web server port 45 // web server port
46 port: 9876, 46 port: 9876,
47 47
48 // enable / disable colors in the output (reporters and logs) 48 // enable / disable colors in the output (reporters and logs)
49 colors: true, 49 colors: true,
50 50
51 // level of logging 51 // level of logging
52 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WAR N || config.LOG_INFO || config.LOG_DEBUG 52 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WAR N || config.LOG_INFO || config.LOG_DEBUG
53 logLevel: config.LOG_INFO, 53 logLevel: config.LOG_DEBUG,
54 54
55 // enable / disable watching file and executing tests whenever any file chan ges 55 // enable / disable watching file and executing tests whenever any file chan ges
56 autoWatch: false, 56 autoWatch: false,
57 57
58 // start these browsers 58 // start these browsers
59 // available browser launchers: https://npmjs.org/browse/keyword/karma-launc her 59 // available browser launchers: https://npmjs.org/browse/keyword/karma-launc her
60 60
61 // FIXME(vsm): Once harmony is on by default, we can simply add the followin g: 61 // FIXME(vsm): Once harmony is on by default, we can simply add the followin g:
62 // browsers: ['Chrome'], 62 // browsers: ['Chrome'],
63 // and remove the custom launchers. 63 // and remove the custom launchers.
(...skipping 11 matching lines...) Expand all
75 chrome_travis: { 75 chrome_travis: {
76 base: 'Chrome', 76 base: 'Chrome',
77 flags: ['--no-sandbox --js-flags="--harmony-arrow-functions --harmony-cl asses --harmony-computed-property-names"'] 77 flags: ['--no-sandbox --js-flags="--harmony-arrow-functions --harmony-cl asses --harmony-computed-property-names"']
78 }, 78 },
79 }, 79 },
80 browsers: ['chrome_harmony'], 80 browsers: ['chrome_harmony'],
81 81
82 // Continuous Integration mode 82 // Continuous Integration mode
83 // if true, Karma captures browsers, runs the tests and exits 83 // if true, Karma captures browsers, runs the tests and exits
84 singleRun: false, 84 singleRun: false,
85 }); 85 };
86
87 if (process.env.TRAVIS) {
88 configuration.browsers = ['chrome_travis'];
89 }
90
91 config.set(configuration);
86 }; 92 };
OLDNEW
« no previous file with comments | « .travis.yml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698