[wp-trac] [WordPress Trac] #40537: PDF tests cannot be tested on Travis

WordPress Trac noreply at wordpress.org
Sat Apr 22 21:37:33 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        |   Keywords:  needs-patch needs-unit-tests
  Focuses:                |
--------------------------+------------------------------------------
 PDF support is not available on Travis, so the tests in the
 `Tests_Image_Functions` class that rely on PDF support get skipped.

 Example output:

 {{{
 3) Tests_Image_Functions::test_wp_generate_attachment_metadata_pdf
 Rendering PDFs is not supported on this system.
 /home/travis/build/aaronjorbin/develop.wordpress/tests/phpunit/tests/image/functions.php:367
 }}}

 What needs to be installed on Travis to get this working?

 Should it be installed as part of the test bootstrap? Any other
 suggestions?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40537>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list