Open jarednova opened 4 years ago
Just realized that we already had this convo 9 months ago! https://travis-ci.community/t/how-to-enable-webp-image-format-support-in-php-7/3209/3
... ugh.
For the next time I Google this:
https://github.com/peter279k/php-travis-gd/blob/master/.travis.yml
tldr; @peter279k demonstrates in this version that you can install your own PHP from another source with webp support. In the tests he then calls sudo php
to use this version. Unfortunately, it adds quite a bit of build time to each run and will likely require other adjustments to phpunit
to actually use
This issue is for the Travis CI build service, and the only way is: using default PHP version in Ubuntu rather than using the phpenv
to switch PHP versions by default.
Recently I have switched to GitHub Action and this issue will not be existed/happened :).
It appears that this currently demonstrates that WEBP is not available in Travis' PHP config. The Travis build shows:
... the above example is from the PHP 7.4 build, but it's the same w PHP 7.1, 7.2 and 7.3
@peter279k (or anyone else) did you ever manage to successfully configure Travis to load with WebP support? I've been going nuts trying to get it working