Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable PHP nightly on Travis CI builds #1937

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dregad
Copy link
Member

@dregad dregad commented Nov 4, 2023

Fixes #33099

@dregad dregad self-assigned this Nov 4, 2023
@dregad
Copy link
Member Author

dregad commented Nov 4, 2023

That does not quite do what I expected...

$ phpenv global nightly 2>/dev/null
nightly is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/18.04/x86_64/php-nightly.tar.bz2
curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
$ phpenv global nightly
[...]
$ php --version
PHP 8.0.27-dev (cli) (built: Dec  7 2022 19:29:53) ( ZTS )

So according to Travis, nigthly = 8.0 and was last built in late 2022...

@dregad
Copy link
Member Author

dregad commented Nov 4, 2023

Tried to specify PHP 8.3 instead, but is not yet available...

$ phpenv global 8.3 2>/dev/null
8.3 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/18.04/x86_64/php-8.3.tar.bz2
$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
curl: (22) The requested URL returned error: 404 
$ phpenv global 8.3
rbenv: version `8.3' not installed
The command "phpenv global 8.3" failed and exited with 1 during .

@dregad
Copy link
Member Author

dregad commented Dec 2, 2023

I wrote to TravisCI support over a month ago but despite several reminders all I got from them to date, was an acknowledgment of receipt...

Don't build nightly on PostgreSQL.

Fixes #33099
See if that gives a more recent "nightly" than the 8.0 we get on Bionic
According to TravisCI support:
> The focal build environment has [...] master(8.4.0-dev) available"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant