Skip to content

Commit

Permalink
feat: laravel 9 support (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
audunru committed Apr 9, 2022
1 parent 7bd6467 commit 7ddfb63
Show file tree
Hide file tree
Showing 4 changed files with 1,813 additions and 1,669 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ php:
- 8.0

env:
- ILLUMINATE_VERSION=^6.0 PHPUNIT_VERSION=^8.5.0 TESTBENCH_VERSION=^4.0
- ILLUMINATE_VERSION=^7.0 PHPUNIT_VERSION=^8.5.0 TESTBENCH_VERSION=^5.0
- ILLUMINATE_VERSION=^8.0 PHPUNIT_VERSION=^9.0.0 TESTBENCH_VERSION=^6.7 COVERAGE=true
- LARAVEL_VERSION=^6.0 TESTBENCH_VERSION=^4.0 PHPUNIT_VERSION=^8.5.0
- LARAVEL_VERSION=^7.0 TESTBENCH_VERSION=^5.0 PHPUNIT_VERSION=^8.5.0
- LARAVEL_VERSION=^8.0 TESTBENCH_VERSION=^6.7 PHPUNIT_VERSION=^9.0.0
- LARAVEL_VERSION=^9.0 TESTBENCH_VERSION=^7.0 PHPUNIT_VERSION=^9.0.0 COVERAGE=true

before_install:
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- cp ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ~/xdebug.ini
- phpenv config-rm xdebug.ini
- composer require "illuminate/http:${ILLUMINATE_VERSION}" "illuminate/support:${ILLUMINATE_VERSION}" "orchestra/testbench:${TESTBENCH_VERSION}" "phpunit/phpunit:${PHPUNIT_VERSION}" --no-update --prefer-dist
- composer require "laravel/framework:${LARAVEL_VERSION}" "orchestra/testbench:${TESTBENCH_VERSION}" "phpunit/phpunit:${PHPUNIT_VERSION}" --no-update --prefer-dist

install: travis_retry composer install --no-interaction --prefer-dist

Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@
],
"require": {
"php": "^8.0",
"illuminate/http": "^6.0|^7.0|^8.0",
"illuminate/support": "^6.0|^7.0|^8.0",
"laravel/framework": "^6.0|^7.0|^8.0|^9.0",
"spatie/enum": "^3.9",
"spatie/laravel-package-tools": "^1.9",
"timacdonald/has-parameters": "^1.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"orchestra/testbench": "^4.0|^5.0|^6.7",
"orchestra/testbench": "^4.0|^5.0|^6.7|^7.0",
"php-coveralls/php-coveralls": "^2.2",
"phpmd/phpmd": "^2.10",
"phpunit/phpunit": "^8.5|^9.0",
Expand Down

0 comments on commit 7ddfb63

Please sign in to comment.