Since about a month (or even longer) I’ve been seeing lots of builds which fail because they can’t install a certain PHP version. Take for example the following build: https://travis-ci.org/laravel/framework/jobs/492257840
You’ll see that because 7.3 isn’t pre-installed it starts downloading and installing. Then I get a curl error:
curl: (56) GnuTLS recv error (-54): Error in the pull function.
And because of that phpenv can’t select the correct php version:
rbenv: version `7.3’ not installed
The command “phpenv global 7.3” failed and exited with 1 during .
This is a bit annoying as there’s nothing wrong except that Travis fails to download a certain PHP version and then fails because of that.
Maybe a solution would be to retry when a curl error happens? But then it would have to wait quite a while. I think investigation into why Travis can’t download these versions sometimes is a better way to go.