[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:04:52 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         |     Focuses:
------------------------------+-----------------------

Comment (by desrosj):

 Did some investigating into the reasons why [49358] works locally but
 fails on Travis.

 It seems that using `dotenv-expand` to change the value assigned to the
 `LOCAL_PHPUNIT` environment variable is only a problem for Travis as the
 GitHub Action workflow for PHPUnit testing also
 [https://github.com/WordPress/wordpress-develop/actions/runs/334310867 ran
 successfully].

 Defining the variable within the matrix for the jobs that utilize the
 Docker environment [https://travis-ci.com/github/desrosj/wordpress-
 develop/builds/195185973 fixes the issue].

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


More information about the wp-trac mailing list