1
0
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:
Tristan Darricau
2015-09-28 17:40:24 +02:00
parent a342517dfb
commit f3dc2a801d
19 changed files with 60 additions and 50 deletions

View File

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

View File

@@ -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 {}'

View File

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

View File

@@ -10,7 +10,7 @@
#
set -e
set -x
DB=$1
TRAVIS_PHP_VERSION=$2
EXTNAME=$3

View File

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

View File

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

View File

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