docs(docs-infra): update docs on configuring project for Travis CI (#37473)
Remove sudo since it no longer has use in Travis CI build configurations. Change chrome addons to use the latest required method. Remove dist to make the Travis CI builds run in the latest Ubuntu release: Xenial. This because Trusty uses an older version of Chrome which is not supported by the current the latest Chrome Driver, used in ng e2e tests. Fixes #36451 PR Close #37473
This commit is contained in:
parent
da22d4904c
commit
d35751d442
|
@ -191,19 +191,12 @@ Your project should start building.
|
|||
Step 1: Create a file called `.travis.yml` at the project root, with the following content:
|
||||
|
||||
```
|
||||
dist: trusty
|
||||
sudo: false
|
||||
|
||||
language: node_js
|
||||
node_js:
|
||||
- "10"
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- google-chrome
|
||||
packages:
|
||||
- google-chrome-stable
|
||||
chrome: stable
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
|
Loading…
Reference in New Issue