mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-29 14:36:28 +01:00
[ticket/12592] Rename mysql environment to mysqli.
PHPBB3-12592
This commit is contained in:
@@ -9,7 +9,7 @@ set -x
|
||||
DB=$1
|
||||
TRAVIS_PHP_VERSION=$2
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.5" -a "$DB" == "mysql" ]
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.5" -a "$DB" == "mysqli" ]
|
||||
then
|
||||
cd build
|
||||
../phpBB/vendor/bin/phing sniff
|
||||
|
||||
@@ -15,12 +15,12 @@ then
|
||||
psql -c 'create database phpbb_tests;' -U postgres
|
||||
fi
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.3" -a "$DB" == "mysql" ]
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.3" -a "$DB" == "mysqli" ]
|
||||
then
|
||||
mysql -e 'SET GLOBAL storage_engine=MyISAM;'
|
||||
fi
|
||||
|
||||
if [ "$DB" == "mysql" -o "$DB" == "mariadb" ]
|
||||
if [ "$DB" == "mysqli" -o "$DB" == "mariadb" ]
|
||||
then
|
||||
mysql -e 'create database IF NOT EXISTS phpbb_tests;'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user