WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/20/2019 12:01:33 AM (14 months ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Pass the TRAVIS_BRANCH and TRAVIS_PULL_REQUEST environment variables along to the Docker container.

This ensures that WP_UnitTestCase::skipOnAutomatedBranches() has access to these variables.

See #49050, #47767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docker-compose.yml

    r46587 r46999  
    106106      PHP_FPM_UID: ${PHP_FPM_UID-1000}
    107107      PHP_FPM_GID: ${PHP_FPM_GID-1000}
     108      TRAVIS_BRANCH: ${TRAVIS_BRANCH-false}
     109      TRAVIS_PULL_REQUEST: ${TRAVIS_PULL_REQUEST-false}
    108110
    109111    volumes:
Note: See TracChangeset for help on using the changeset viewer.