Hi @peter279k
I have checked that, but i need webp support in code. I wont be able to run with ‘/usr/bin/php’
Hi @peter279k
I have checked that, but i need webp support in code. I wont be able to run with ‘/usr/bin/php’
By default, Travis CI build will use the phpenv to build pre-built PHP.
And we cannot control above pre-built PHP.
That’s the reason why I use the sudo prefix to install other PHP packages on operating system.
If you want to use php rather than using the /usr/bin/php, I think it has an approach:
Using ln -s to create soft link to let /usr/bin/php be php command.
More details about .travis.yml file is available here.
Hi @peter279k
Do you know how to recompile php in travis ?
I have no idea about recompiling PHP during Travis CI building.
I also don’t suggest that because this will take much time to do prepare environment on every Travis CI build.