Setting environment variables from .travis.yml
$ export XDEBUG_MODE=coverage
0.02s$ phpenv global 8.1 2>/dev/null
8.1 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/16.04/x86_64/php-8.1.tar.bz2
0.10s$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
curl: (22) The requested URL returned error: 404 Not Found
0.00s0.01s$ phpenv global 8.1
rbenv: version `8.1' not installed
The command "phpenv global 8.1" failed and exited with 1 during .
Your build has been stopped.
@Montana - any updates? PHP 8.1 was released almost two weeks ago. styleci.io already supports it. Not sure about GitHub Actions or other CI providers…
0.02s$ phpenv global 8.1 2>/dev/null
8.1 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/16.04/x86_64/php-8.1.tar.bz2
0.11s$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
curl: (22) The requested URL returned error: 404 Not Found
0.00s0.01s$ phpenv global 8.1
rbenv: version `8.1' not installed
The command "phpenv global 8.1" failed and exited with 1 during .
Your build has been stopped.
It’s not working for me either. I tried adding - 8.1.0 to my .travis.yml and got this:
$ phpenv global 8.1.0 2>/dev/null
8.1.0 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/16.04/x86_64/php-8.1.0.tar.bz2
9.57s$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
0.01s0.02s$ phpenv global 8.1.0
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
0.04s$ composer self-update
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
$ php --version
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
$ composer --version
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
$ phpenv global 8.1 2>/dev/null
8.1 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/16.04/x86_64/php-8.1.tar.bz2
0.10s$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
curl: (22) The requested URL returned error: 404 Not Found
0.00s0.02s$ phpenv global 8.1
rbenv: version `8.1' not installed
The command "phpenv global 8.1" failed and exited with 1 during .
I mean, I feel like 8.1 ought to work since 8.0, 7.4, 7.3, 7.2, 7.1, 7.0, etc, all work. Using 8.1.0 works more than 8.1 works but it doesn’t seem to really be working either…
Your configuration works, is there any word on when it will be officially in a changelog or something? Thanks for this by the way, I can work with it for now…
Setting environment variables from .travis.yml
$ export XDEBUG_MODE=coverage
0.01s$ phpenv global 8.1 2>/dev/null
8.1 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/18.04/x86_64/php-8.1.tar.bz2
NaNs$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
curl: (22) The requested URL returned error: 404
0.00s0.01s$ phpenv global 8.1
rbenv: version `8.1' not installed
The command "phpenv global 8.1" failed and exited with 1 during .
Your build has been stopped.
$ phpenv global 8.1.0 2>/dev/null
8.1.0 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/16.04/x86_64/php-8.1.0.tar.bz2
14.77s$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
0.01s0.02s$ phpenv global 8.1.0
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
0.06s$ composer self-update
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
$ php --version
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
$ composer --version
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
0.01s0.03s$ phpenv global 8.1 2>/dev/null
8.1 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/18.04/x86_64/php-8.1.tar.bz2
0.07s$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
curl: (22) The requested URL returned error: 404
0.00s0.03s$ phpenv global 8.1
rbenv: version `8.1' not installed
The command "phpenv global 8.1" failed and exited with 1 during .
Your build has been stopped.