Skip to content

Commit

Permalink
Merge pull request #124 from Dealerdirect/feature/travis-test-against…
Browse files Browse the repository at this point in the history
…-php8-no-failure

Travis: add build against PHP 8.0
  • Loading branch information
jrfnl authored Dec 4, 2020
2 parents ab54315 + 1c1156f commit 8223172
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ jobs:
- composer validate

- stage: test
php: 7.4
php: 8.0
env: PHPCS_VERSION="dev-master" LINT=1
- php: 8.0
# Lowest PHPCS version on which PHP 8.0 is supported.
env: PHPCS_VERSION="3.5.7"
- php: 7.4
env: PHPCS_VERSION="dev-master" LINT=1
- php: 7.4
# Lowest PHPCS version on which PHP 7.4 is supported.
Expand Down Expand Up @@ -105,7 +110,7 @@ install:
composer require --no-update --no-suggest --no-scripts phpcompatibility/php-compatibility:"^8.0"
fi
- |
if [[ $TRAVIS_PHP_VERSION != "nightly" ]]; then
if [[ $TRAVIS_PHP_VERSION != "nightly" && $TRAVIS_PHP_VERSION != "8.0" ]]; then
travis_wait composer install --no-interaction --no-progress --no-scripts --no-suggest --optimize-autoloader --prefer-dist --verbose
else
composer require --no-update --no-suggest --no-scripts phpcompatibility/php-compatibility
Expand Down

0 comments on commit 8223172

Please sign in to comment.