mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/14205] Bump PHP requirement to PHP 5.4
PHPBB3-14205
This commit is contained in:
@@ -12,10 +12,11 @@ set -e
|
||||
|
||||
DB=$1
|
||||
TRAVIS_PHP_VERSION=$2
|
||||
root="$3"
|
||||
NOTESTS=$3
|
||||
root="$4"
|
||||
path="${root}phpBB/"
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.3" -a "$DB" == "mysqli" ]
|
||||
if [ "$NOTESTS" == '1' ]
|
||||
then
|
||||
# Check the permissions of the files
|
||||
|
||||
|
@@ -12,8 +12,9 @@ set -e
|
||||
|
||||
DB=$1
|
||||
TRAVIS_PHP_VERSION=$2
|
||||
NOTESTS=$3
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.3" -a "$DB" == "mysqli" ]
|
||||
if [ "$NOTESTS" == '1' ]
|
||||
then
|
||||
find . -type f -a -iregex '.*\.\(gif\|jpg\|jpeg\|png\)$' -a -not -wholename '*vendor/*' | \
|
||||
parallel --gnu --keep-order 'phpBB/develop/strip_icc_profiles.sh {}'
|
||||
|
@@ -12,8 +12,9 @@ set -e
|
||||
|
||||
DB=$1
|
||||
TRAVIS_PHP_VERSION=$2
|
||||
NOTESTS=$3
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.3" -a "$DB" == "mysqli" ]
|
||||
if [ "$NOTESTS" == '1' ]
|
||||
then
|
||||
# Workarounds for
|
||||
# https://github.com/fabpot/Sami/issues/116
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#
|
||||
set -e
|
||||
set -x
|
||||
|
||||
|
||||
DB=$1
|
||||
TRAVIS_PHP_VERSION=$2
|
||||
EXTNAME=$3
|
||||
|
@@ -13,8 +13,9 @@ set -x
|
||||
|
||||
DB=$1
|
||||
TRAVIS_PHP_VERSION=$2
|
||||
NOTESTS=$3
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.5" -a "$DB" == "mysqli" ]
|
||||
if [ "$NOTESTS" == '1' ]
|
||||
then
|
||||
cd build
|
||||
../phpBB/vendor/bin/phing sniff
|
||||
|
@@ -13,6 +13,12 @@ set -x
|
||||
|
||||
DB=$1
|
||||
TRAVIS_PHP_VERSION=$2
|
||||
NOTESTS=$3
|
||||
|
||||
if [ "$NOTESTS" == '1' ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$DB" == "postgres" ]
|
||||
then
|
||||
@@ -20,7 +26,7 @@ then
|
||||
psql -c 'create database phpbb_tests;' -U postgres
|
||||
fi
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.3" -a "$DB" == "mysqli" ]
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.4" -a "$DB" == "mysqli" ]
|
||||
then
|
||||
mysql -e 'SET GLOBAL storage_engine=MyISAM;'
|
||||
fi
|
||||
|
@@ -13,8 +13,9 @@ set -x
|
||||
|
||||
DB=$1
|
||||
TRAVIS_PHP_VERSION=$2
|
||||
NOTESTS=$3
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.3" -a "$DB" == "mysqli" ]
|
||||
if [ "$NOTESTS" == '1' ]
|
||||
then
|
||||
travis/setup-exiftool.sh
|
||||
travis/setup-unbuffer.sh
|
||||
@@ -25,12 +26,12 @@ then
|
||||
travis/setup-mariadb.sh
|
||||
fi
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]
|
||||
if [ "$NOTESTS" != '1' -a "$TRAVIS_PHP_VERSION" != "hhvm" ]
|
||||
then
|
||||
travis/setup-php-extensions.sh
|
||||
fi
|
||||
|
||||
if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.3.19', '>=');"` == "1" ]
|
||||
if [ "$NOTESTS" != '1' ]
|
||||
then
|
||||
travis/setup-webserver.sh
|
||||
travis/install-phpbb-test-dependencies.sh
|
||||
|
Reference in New Issue
Block a user