Try travis fix

This commit is contained in:
Laurent Destailleur 2022-09-20 16:15:13 +02:00
parent 48f0a95682
commit 802c06c15e

View File

@ -18,6 +18,19 @@ services:
- mysql
- postgresql
before_install:
- |
echo "Add ondrej PPA"
sudo add-apt-repository -y ppa:ondrej/php
sudo apt-get update
echo "Disabling Xdebug for composer"
export PHP_VERSION_NAME=$(phpenv version-name)
echo $PHP_VERSION_NAME
cp ~/.phpenv/versions/$PHP_VERSION_NAME/etc/conf.d/xdebug.ini /tmp/xdebug.ini
phpenv config-rm xdebug.ini
echo
addons:
# Force postgresql to 9.4 (the oldest availablable on xenial)
postgresql: '10'
@ -25,6 +38,7 @@ addons:
sources:
# To use the last version of pgloader, we add repo of postgresql with a name available in http://apt.postgresql.org/pub/repos/apt/
- pgdg-xenial
- sourceline: 'ppa:ondrej/php'
packages:
# We need a webserver to test the webservices
# Let's install Apache with.
@ -73,16 +87,6 @@ notifications:
use_notice: true
before_install:
- |
echo "Add ondrej PPA"
add-apt-repository -y ppa:ondrej/php
echo "Disabling Xdebug for composer"
export PHP_VERSION_NAME=$(phpenv version-name)
cp ~/.phpenv/versions/$PHP_VERSION_NAME/etc/conf.d/xdebug.ini /tmp/xdebug.ini
phpenv config-rm xdebug.ini
echo
install:
- |
echo "Updating Composer"