1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-17 14:18:24 +01:00

[ticket/12592] Rename mysql environment to mysqli.

PHPBB3-12592
This commit is contained in:
Andreas Fischer 2014-05-26 18:49:29 +02:00
parent 26674bff39
commit c0dc0fc09b
4 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ php:
- hhvm
env:
- DB=mysql
- DB=mysqli
services:
- redis-server
@ -22,7 +22,7 @@ before_script:
script:
- travis/phing-sniff.sh $DB $TRAVIS_PHP_VERSION
- phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' -a '$DB' = 'mysql' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' -a '$DB' = 'mysqli' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"
matrix:
include:

View File

@ -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

View File

@ -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