|
@@ -10,15 +10,21 @@ module.exports = function(config) {
|
|
|
'tests/qrcode.js',
|
|
|
],
|
|
|
customLaunchers: {
|
|
|
- Chromium_ci: {
|
|
|
+ Chromium_ci_gitlab: {
|
|
|
base: 'Chromium',
|
|
|
flags: ['--no-sandbox'],
|
|
|
},
|
|
|
+ Chrome_ci_circle: {
|
|
|
+ base: 'Chrome',
|
|
|
+ flags: ['--no-sandbox'],
|
|
|
+ },
|
|
|
}
|
|
|
};
|
|
|
|
|
|
if (process.env.GITLAB_CI) {
|
|
|
- configuration.browsers = ['Chromium_ci', 'Firefox'];
|
|
|
+ configuration.browsers = ['Chromium_ci_gitlab', 'Firefox'];
|
|
|
+ } else if (process.env.CIRCLECI) {
|
|
|
+ configuration.browsers = ['Chrome_ci_circle', 'Firefox'];
|
|
|
} else {
|
|
|
configuration.browsers = ['Chromium', 'Firefox'];
|
|
|
}
|