WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#40536 new defect (bug)

Imagick tests cannot be tested on Travis — at Version 1

Reported by: johnbillion Owned by:
Milestone: Awaiting Review 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
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/image/base.php:15
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/image/resize.php:14
/home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/image/resize_imagick.php:23

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

Change History (1)

#1 @johnbillion
4 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.