[wp-trac] [WordPress Trac] #50042: Update Docker environment to allow specific versions of PHPUnit to be loaded

WordPress Trac noreply at wordpress.org
Wed Oct 28 23:15:22 UTC 2020


#50042: Update Docker environment to allow specific versions of PHPUnit to be
loaded
------------------------------+-----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  task (blessed)    |      Status:  reopened
 Priority:  normal            |   Milestone:  5.6
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------

Comment (by desrosj):

 In [changeset:"49362" 49362]:
 {{{
 #!CommitTicketReference repository="" revision="49362"
 Build/Test Tools: Allow the desired version of PHPUnit to be passed to the
 local Docker environment.

 This reintroduces [49358] with a modification to the `.travis.yml` file to
 avoid an issue with `dotenv-expand` being unable to expand variables into
 `process.env` only on Travis.

 The `LOCAL_PHPUNIT` environment variabl allows the desired version of
 PHPUnit to be specified when running the PHP tests within the local Docker
 environment.

 Because support for newer versions of PHPUnit is not backported, some
 versions of PHP need the ability to run multiple versions of PHPUnit for
 different branches. This adds the flexibility needed to use the Docker
 environment within those older branches to run the PHP tests.

 Props johnbillion, SergeyBiryukov.
 See #50042.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50042#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list