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 d19117c commit 73a7b88
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,14 +4,20 @@ php:
- 7.2
- 7.3
- 7.4
- 8.0

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

cache:
directories:
- $HOME/.composer/cache

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",
"illuminate/support": "^7.0",
"illuminate/database": "^7.0"
},
Expand Down

0 comments on commit 73a7b88

Please sign in to comment.