mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: remove chrome sandbox workaround (#9498)
In order to align with the `angular/angular` setup, we also remove the temporary Chrome Headless Sandbox workaround in favor of faster Travis CI containers. To be able to still use headless chrome, we specify the `no-sandbox` flag. Reference https://github.com/angular/angular/pull/21641
This commit is contained in:
committed by
Jeremy Elbourn
parent
4523556658
commit
33afd93198
@@ -37,6 +37,7 @@ const config = {
|
||||
|
||||
if (process.env['TRAVIS']) {
|
||||
const key = require('../scripts/saucelabs/sauce_config');
|
||||
|
||||
config.sauceUser = process.env['SAUCE_USERNAME'];
|
||||
config.sauceKey = key;
|
||||
config.capabilities = {
|
||||
|
||||
@@ -5,15 +5,19 @@
|
||||
"--window-size=1024,768"
|
||||
]
|
||||
},
|
||||
"ChromeHeadlessCI": {
|
||||
"base": "ChromeHeadless",
|
||||
"flags": [
|
||||
"--window-size=1024,768",
|
||||
"--no-sandbox"
|
||||
]
|
||||
},
|
||||
"FirefoxHeadless": {
|
||||
"base": "Firefox",
|
||||
"flags": [
|
||||
"-headless"
|
||||
]
|
||||
},
|
||||
"ChromeHeadlessCI": {
|
||||
"base": "ChromeHeadlessLocal"
|
||||
},
|
||||
"SL_CHROME": {
|
||||
"base": "SauceLabs",
|
||||
"browserName": "chrome",
|
||||
|
||||
Reference in New Issue
Block a user