[wp-trac] [WordPress Trac] #40536: Imagick tests cannot be tested on Travis

WordPress Trac noreply at wordpress.org
Sat Apr 22 21:32:26 UTC 2017


#40536: Imagick tests cannot be tested on Travis
------------------------------------------+------------------------------
 Reporter:  johnbillion                   |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Media                         |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+------------------------------
Description changed by johnbillion:

Old description:

> Imagick is not available on Travis, so all of the tests in the
> `Test_Image_Resize_Imagick` class 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?

New description:

 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?

--

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


More information about the wp-trac mailing list