[wp-trac] [WordPress Trac] #30462: Test multiple MySQL versions on Travis

WordPress Trac noreply at wordpress.org
Fri Dec 18 15:27:49 UTC 2020


#30462: Test multiple MySQL versions on Travis
---------------------------------------+------------------------------
 Reporter:  pento                      |       Owner:  (none)
     Type:  enhancement                |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Build/Test Tools           |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  needs-refresh needs-patch  |     Focuses:
---------------------------------------+------------------------------

Comment (by desrosj):

 In [changeset:"49836" 49836]:
 {{{
 #!CommitTicketReference repository="" revision="49836"
 Build/Test Tools: Support the use of MariaDB in the local Docker
 environment.

 In addition to MySQL, WordPress also supports MariaDB for databases. This
 makes changes to the local Docker environment to allow MariaDB to be used
 instead, if desired.

 The `LOCAL_DB_TYPE` environment variable will now be used to determine
 which type of database container to use. This will default to `mysql`, but
 will also accept `mariadb`.

 The `LOCAL_MYSQL` environment variable (which previously held the version
 of MySQL to use) has been replaced with the new, more generic
 `LOCAL_DB_VERSION` environment variable.

 This change will make it possible to perform automated testing on a wider
 array of supported database types and versions.

 Props davidbaumwald.
 Fixes #51744. See #30462.
 }}}

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


More information about the wp-trac mailing list