Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 2f88bb8

Browse files
devversionThomasBurleson
authored andcommitted
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)
1 parent 39c78be commit 2f88bb8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
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-
- '--lts'
11+
- '8.9.4'
712

813
addons:
914
jwt:

0 commit comments

Comments
 (0)