Opened 9 years ago
Closed 6 years ago
#40536 closed defect (bug) (duplicate)
Imagick tests cannot be tested on Travis
| Reported by: | johnbillion | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | needs-patch needs-unit-tests |
| Cc: | Focuses: |
Description (last modified by )
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 (5)
This ticket was mentioned in Slack in #core-media by joemcgill. View the logs.
9 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
For reference, this was done for WP-CLI's media-command, https://github.com/wp-cli/media-command/issues/7