From e6e1be0dfe45acf860e3b30d20a069c8bd6958e2 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sun, 21 Jan 2018 21:57:48 +0200 Subject: [PATCH] chore: try fix chrome headless on travis --- karma.conf.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index f3d059bb..ee73d68d 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -32,7 +32,6 @@ module.exports = function(config) { { pattern: 'tests/schemas/**/*.json', included: false }, { pattern: 'tests/schemas/**/*.yml', included: false }, { pattern: 'lib/**/*.html', included: false }, - { pattern: 'lib/**/*.css', included: false }, ], proxies: { @@ -46,7 +45,13 @@ module.exports = function(config) { ? ['mocha', 'coverage', 'remap-coverage', 'coveralls'] : ['mocha', 'coverage', 'remap-coverage'], - browsers: ['ChromeHeadless'], + browsers: ['ChromeHeadlessNoSandbox'], + customLaunchers: { + ChromeHeadlessNoSandbox: { + base: 'ChromeHeadless', + flags: ['--no-sandbox'] + } + }, browserNoActivityTimeout: 60000, });