Tests: Download Chromium for e2e and JS tests only.
This reduces the chance of random failures due to network timeouts and avoids the overhead of unnecessarily downloading ~120 MB for PHP tests. Follow-up to [47449], [47459], [47867], [48177]. Fixes #50649. git-svn-id: https://develop.svn.wordpress.org/trunk@48458 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6cba6fdc08
commit
d8c91ce45f
@ -25,16 +25,17 @@ env:
|
||||
- WP_INSTALL: true
|
||||
- PHP_FPM_UID: "`id -u`"
|
||||
- PHP_FPM_GID: "`id -g`"
|
||||
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- env: WP_TRAVISCI=test:e2e
|
||||
- env: WP_TRAVISCI=test:e2e PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
|
||||
name: E2E Tests
|
||||
- env: WP_TRAVISCI=lint:php COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false
|
||||
name: PHP Linting
|
||||
- env: WP_TRAVISCI=test:compat COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false
|
||||
name: "PHP Compatibility Check"
|
||||
- env: WP_TRAVISCI=travis:js WP_INSTALL=false
|
||||
- env: WP_TRAVISCI=travis:js WP_INSTALL=false PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
|
||||
name: JS Tests
|
||||
- env: LOCAL_PHP=7.4-fpm WP_TRAVISCI=test:php
|
||||
name: "PHPUnit Tests: PHP 7.4"
|
||||
|
Loading…
Reference in New Issue
Block a user