eldy
June 16, 2023, 1:22am
1
Since today, running Travis CTI with different PHP version does not work.
Error is when Travis run phpenv to switch to the correct PHP version. It makes a curl to get a non existing file.
For example, when running travis with PHP7.1, i got this error during init steps
eldy
June 16, 2023, 11:38pm
2
In text mode, this is the error:
Adding APT Sources
1789.78s$ sudo -E apt-add-repository -y "ppa:ondrej/php"
179Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
180Hit:2 http://package.perforce.com/apt/ubuntu bionic InRelease
181Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease [20.8 kB]
182Hit:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
183Hit:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
184Hit:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
185Hit:7 http://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease
186Hit:8 https://public.dhe.ibm.com/software/server/POWER/Linux/toolchain/at/ubuntu bionic InRelease
187Fetched 20.8 kB in 1s (15.9 kB/s)
188Reading package lists... Done
1899.82s$ travis_apt_get_update
190Installing APT Packages
1911.15s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install apache2 pgloader php php7.1-pgsql php7.1-mysqli php7.1-xml php7.1-intl php8.1-pgsql php8.1-mysqli php8.1-xml php8.1-intl
192Reading package lists...
193Building dependency tree...
194Reading state information...
195E: Unable to locate package php7.1-pgsql
196E: Couldn't find any package by glob 'php7.1-pgsql'
197E: Couldn't find any package by regex 'php7.1-pgsql'
198E: Unable to locate package php7.1-mysqli
199E: Couldn't find any package by glob 'php7.1-mysqli'
200E: Couldn't find any package by regex 'php7.1-mysqli'