[ticket/16636] Add PHP 8.0 builds to TravisCI

PHPBB3-16636
This commit is contained in:
rxu 2020-11-20 21:14:34 +07:00
parent 3d1874adcc
commit 5a5236760e
No known key found for this signature in database
GPG key ID: 955F0567380E586A
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