[wp-trac] [WordPress Trac] #40537: PDF tests cannot be tested on Travis
WordPress Trac
noreply at wordpress.org
Tue Apr 25 04:06:50 UTC 2017
#40537: PDF 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: has-patch needs-testing | Focuses:
-------------------------------------+------------------------------
Changes (by desrosj):
* keywords: needs-patch needs-unit-tests => has-patch needs-testing
Comment:
I was able to get Imagick to install on PHP 5.4+ in Travis (version 3.4.3
of Imagick requires `PHP >= 5.4`). Looks like ImageMagick and GhostScript
are already installed on the Travis images.
You can see the build for this patch here: [https://travis-
ci.org/desrosj/develop.wordpress/builds/225468364]
There is only one failure in Travis when Imagick is installed.
{{{
There was 1 failure:
1) Tests_Image_Editor_Imagick::test_image_preserves_alpha_on_rotate
Failed asserting that 1.0 matches expected 0.0.
}}}
For context, when running `phpunit --group wp-image-editor-imagick`
locally using VVV, there are currently 14 tests with 43 total assertions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40537#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list