Skip to content

Commit 96e6f83

Browse files
devversionandrewseguin
authored andcommitted
build: fix chrome headless not starting (#9418)
* build: fix chrome headless not starting * Applies a workaround for travis-ci/travis-ci#8836 that fixes the Chrome launch issues. (similar workaround applied on angular/angular) * Add comment for node version
1 parent 69e3597 commit 96e6f83

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
language: node_js
2-
sudo: false
32
dist: trusty
43

4+
# Temporary set sudo to required, because in normal container-based Travis jobs, the Chrome
5+
# binaries seem to be owned by root, and therefore can't be accessed by Karma. To workaround
6+
# the issue we temporary grant the CI sudo permissions.
7+
# https://github.com/travis-ci/travis-ci/issues/8836#issuecomment-356362524.
8+
sudo: required
9+
510
node_js:
6-
- '8'
11+
# Use the explicit NodeJS LTS version 8.9.4 to avoid any automatic upgrade of the version.
12+
# This ensures that all Travis jobs run consistently and don't have different Node versions.
13+
- '8.9.4'
714

815
addons:
916
jwt:

0 commit comments

Comments
 (0)