chore: try fix chrome headless on travis

This commit is contained in:
Roman Hotsiy 2018-01-21 21:57:48 +02:00
parent 5925431dbf
commit e6e1be0dfe
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -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,
});