Skip to content

Commit

Permalink
Add PHP8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Dec 21, 2020
1 parent 9cfbc39 commit 8a09da8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ php:
- 7.2
- 7.3
- 7.4
- 8.0

env:
global:
- COMPOSER_MEMORY_LIMIT=-1
- XDEBUG_MODE=coverage

cache:
directories:
Expand All @@ -13,8 +19,8 @@ services:
- mysql

install:
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction --prefer-dist
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls
- travis_retry composer install --no-interaction --prefer-dist
- travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls

script: vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"email": "[email protected]"
}],
"require": {
"php": "^7.2.5",
"php": "^7.2.5|^8.0",
"ext-json": "*",
"illuminate/support": "^7.0",
"illuminate/console": "^7.0",
Expand Down

0 comments on commit 8a09da8

Please sign in to comment.