1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-21 08:00:46 +01:00

Merge pull request #5713 from marc1706/ticket/16185

[ticket/16185] Use xenial for builds on travis
This commit is contained in:
Marc Alexander 2019-10-19 14:06:47 +02:00
commit c5ae114315
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
3 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,5 @@
language: php
dist: trusty
dist: xenial
matrix:
include:
@ -29,6 +29,8 @@ matrix:
services:
- redis-server
- postgresql
- mysql
install:
- travis/setup-phpbb.sh $DB $TRAVIS_PHP_VERSION $NOTESTS

View File

@ -48,13 +48,13 @@ then
'(' \
${executable_files} \
')' -a \
-not -perm +100 \
-not -perm /100 \
')' -o \
'(' \
-not '(' \
${executable_files} \
')' -a \
-perm +111 \
-perm /111 \
')' \
')' \
')' \

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