mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[ticket/16659] Remove special definitions for mariadb setup
PHPBB3-16659
This commit is contained in:
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@@ -66,7 +66,6 @@ jobs:
|
|||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
options: >-
|
options: >-
|
||||||
-v /srv/docker/sockets/mariadb:/var/run/mysqld
|
|
||||||
--health-cmd="mysqladmin ping"
|
--health-cmd="mysqladmin ping"
|
||||||
--health-interval=10s
|
--health-interval=10s
|
||||||
--health-timeout=5s
|
--health-timeout=5s
|
||||||
|
@@ -30,8 +30,3 @@ if [ "$TRAVIS_PHP_VERSION" == "5.6" -a "$DB" == "mysql" ]
|
|||||||
then
|
then
|
||||||
mysql -e 'SET GLOBAL storage_engine=MyISAM;'
|
mysql -e 'SET GLOBAL storage_engine=MyISAM;'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DB" == "mariadb" ]
|
|
||||||
then
|
|
||||||
mysql -e 'create database IF NOT EXISTS phpbb_tests;'
|
|
||||||
fi
|
|
||||||
|
@@ -22,15 +22,6 @@ then
|
|||||||
travis/setup-unbuffer.sh
|
travis/setup-unbuffer.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DB" == "mariadb" ]
|
|
||||||
then
|
|
||||||
ls -l /var/run | grep -i mysqld
|
|
||||||
|
|
||||||
if [ ! -f "/var/run/mysqld/mysqld.sock" ]; then
|
|
||||||
ln -s /srv/docker/sockets/mariadb/mysqld.sock /var/run/mysqld/mysqld.sock
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$MYSQL8" == '1' ]
|
if [ "$MYSQL8" == '1' ]
|
||||||
then
|
then
|
||||||
travis/setup-mysql8.sh
|
travis/setup-mysql8.sh
|
||||||
|
Reference in New Issue
Block a user