Make WordPress Core

Opened 6 years ago

Last modified 6 weeks ago

#31092 new defect (bug)

travis-ci builds skip lots of tests due to environment configuration

Reported by: boonebgorges Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: needs-patch
Focuses: Cc:


See #30284.

travis-ci builds (eg https://travis-ci.org/aaronjorbin/develop.wordpress/jobs/47713725) are skipping a bunch of tests. I haven't yet looked into it in detail, but I'm guessing it's a combination of the following:

  • Missing image-related PHP extensions (gd, exif)
  • ru_RU system domain must be installed (Tests_DB::test_locale_floats())
  • MySQL versions don't support utf8mb4
  • WordPress Importer plugin not available

Ideally, the only tests skipped in CI are those that depend on *WordPress* configurations, and we run separate builds for each relevant config. In the case of our current tests, the only WP config that matters is multisite, and we're already running separate multisite tests, so we should expect to see that some tests are skipped on MS, and others skipped on non-MS. All OS, PHP, MySQL, and webserver-related skips should be eliminated.

Anyone who's interested in chasing this down, here's how I'd go about it:

Change History (3)

#2 @netweb
6 years ago

Related: #30462 Test multiple MySQL versions on Travis (And utf8mb4 is in there as a bonus)

#3 @jrf
6 weeks ago

Related #50639, #50640

Note: See TracTickets for help on using tickets.