Skip to content

Commit

Permalink
Travis: add build against PHP 8.0
Browse files Browse the repository at this point in the history
PHP 8.0 has been branched off two months ago, so `nightly` is now PHP 8.1 and in the mean time PHP 8.0 was released last week.

As of today, there is a PHP 8.0 image available on Travis.

This PR adds a new build against PHP 8.0 to the matrix and, as PHP 8.0 has been released, that build is not allowed to fail.
  • Loading branch information
jrfnl authored and grogy committed Dec 20, 2020
1 parent 9b67e64 commit b785f47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ php:
- 7.2
- 7.3
- 7.4
- 8.0
- "nightly"

jobs:
Expand All @@ -34,7 +35,7 @@ cache:

before_script:
- |
if [[ $TRAVIS_PHP_VERSION != "nightly" ]]; then
if [[ $TRAVIS_PHP_VERSION != "nightly" && $TRAVIS_PHP_VERSION != "8.0" ]]; then
composer install --no-suggest --no-interaction
else
# Ignore platform requirements to allow PHPUnit to install on PHP 8.
Expand Down

0 comments on commit b785f47

Please sign in to comment.