WordPress.org

Make WordPress Core

Changeset 48458


Ignore:
Timestamp:
07/13/2020 03:18:49 PM (3 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r48177 r48458  
    2626    - PHP_FPM_UID: "`id -u`"
    2727    - PHP_FPM_GID: "`id -g`"
     28    - PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
    2829
    2930jobs:
    3031  include:
    31   - env: WP_TRAVISCI=test:e2e
     32  - env: WP_TRAVISCI=test:e2e PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
    3233    name: E2E Tests
    3334  - env: WP_TRAVISCI=lint:php COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false
     
    3536  - env: WP_TRAVISCI=test:compat COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false
    3637    name: "PHP Compatibility Check"
    37   - env: WP_TRAVISCI=travis:js WP_INSTALL=false
     38  - env: WP_TRAVISCI=travis:js WP_INSTALL=false PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
    3839    name: JS Tests
    3940  - env: LOCAL_PHP=7.4-fpm WP_TRAVISCI=test:php
Note: See TracChangeset for help on using the changeset viewer.