Make WordPress Core

Opened 7 years ago

Closed 3 years ago

#40536 closed defect (bug) (duplicate)

Imagick tests cannot be tested on Travis

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords: needs-patch needs-unit-tests
Focuses: Cc:

Description (last modified by johnbillion)

Imagick is not available on Travis, so all of the tests in the Test_Image_Resize_Imagick and Tests_Image_Editor_Imagick classes get skipped.

Example output:

6) Test_Image_Resize_Imagick::test_resize_jpg
The image editor engine WP_Image_Editor_Imagick is not supported on this system

Should we install Imagick on Travis as part of the test bootstrap? Any other suggestions?

Change History (5)

#1 @johnbillion
7 years ago

  • Description modified (diff)

#2 @gitlost
7 years ago

For reference, this was done for WP-CLI's media-command,

This ticket was mentioned in Slack in #core-media by joemcgill. View the logs.

7 years ago

#4 @desrosj
7 years ago

Related #40537

The patch there will also fix this.

#5 @johnbillion
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #40537.

Note: See TracTickets for help on using tickets.