1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

Merge pull request #6077 from rxu/ticket/16636

[ticket/16636] Add PHP 8.0 builds to TravisCI
This commit is contained in:
Marc Alexander 2020-11-20 17:54:32 +01:00
commit cdd9600c60
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,8 @@ matrix:
env: DB=mysqli
- php: 7.4
env: DB=mysqli;MYSQL8=1
- php: 8.0snapshot
env: DB=mysqli
- php: nightly
env: DB=mysqli
allow_failures:

View File

@ -44,7 +44,7 @@ fi
cd phpBB
php ../composer.phar install --dev --no-interaction
if [ "$TRAVIS_PHP_VERSION" == "nightly" ]
if [[ "$TRAVIS_PHP_VERSION" =~ ^nightly$ || "$TRAVIS_PHP_VERSION" =~ ^8 ]]
then
php ../composer.phar remove phpunit/dbunit --dev --update-with-dependencies \
&& php ../composer.phar require symfony/yaml:~4.4 misantron/dbunit:~5.0 phpunit/phpunit:^9.3 --dev --update-with-all-dependencies --ignore-platform-reqs