1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 07:42:09 +02:00

[ticket/16538] Move script execution to setip-phpbb.sh

PHPBB3-16538
This commit is contained in:
rxu 2020-06-26 17:24:18 +07:00
parent 55d9154b01
commit 3bbe0f1d4e
No known key found for this signature in database
GPG Key ID: 8EF9758E0A54D19E
3 changed files with 7 additions and 11 deletions

View File

@ -35,11 +35,8 @@ services:
- mysql
- memcached
before_install:
- travis/setup-mysql8.sh $MYSQL8
install:
- travis/setup-phpbb.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
- travis/setup-phpbb.sh $DB $TRAVIS_PHP_VERSION ${NOTESTS:-0} ${MYSQL8:-0}
before_script:
- travis/setup-database.sh $DB $TRAVIS_PHP_VERSION $NOTESTS

View File

@ -11,13 +11,6 @@
set -e
set -x
MYSQL8=$1
if [ "$MYSQL8" != '1' ]
then
exit 0
fi
wget https://repo.mysql.com//mysql-apt-config_0.8.15-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.15-1_all.deb
sudo apt-get update -q

View File

@ -14,6 +14,7 @@ set -x
DB=$1
TRAVIS_PHP_VERSION=$2
NOTESTS=$3
MYSQL8=$4
if [ "$NOTESTS" == '1' ]
then
@ -26,6 +27,11 @@ then
travis/setup-mariadb.sh
fi
if [ "$MYSQL8" == '1' ]
then
travis/setup-mysql8.sh
fi
if [ "$NOTESTS" != '1' ]
then
travis/setup-php-extensions.sh