1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 04:42:04 +02:00

[ticket/16185] Add mysql, postgresql to services and use mariadb 10.1

Updated GPG key signature according to mariadb documentation.

PHPBB3-16185
This commit is contained in:
Marc Alexander 2019-10-19 11:49:43 +02:00
parent 5ff519c7b2
commit bea1df7759
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 5 additions and 2 deletions

View File

@ -29,6 +29,8 @@ matrix:
services:
- redis-server
- postgresql
- mysql
install:
- travis/setup-phpbb.sh $DB $TRAVIS_PHP_VERSION $NOTESTS

View File

@ -12,13 +12,14 @@ set -e
set -x
# MariaDB Series
VERSION='10.0'
VERSION='10.1'
# Operating system codename, e.g. "precise"
OS_CODENAME=$(lsb_release --codename --short)
# Manually purge MySQL to remove conflicting files (e.g. /etc/mysql/my.cnf)
sudo apt-get purge -y mysql-common
sudo rm -rf /etc/mysql && sudo rm -rf /var/log/mysql && sudo rm -rf /var/lib/mysql && sudo rm -rf /var/lib/mysql-files && sudo rm -rf /var/lib/mysql-keyring
if ! which add-apt-repository > /dev/null
then
@ -27,7 +28,7 @@ then
fi
MIRROR_DOMAIN='ftp.osuosl.org'
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
sudo add-apt-repository "deb http://$MIRROR_DOMAIN/pub/mariadb/repo/$VERSION/ubuntu $OS_CODENAME main"
sudo apt-get update