Skip to content

Commit

Permalink
support php 8 in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam O'Connor committed Feb 6, 2021
1 parent f8f3652 commit 94fc4d7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ php:
- 7.2
- 7.3
- 7.4
- 8.0

env:
- LARAVEL="^5.5" COMPOSER_FLAGS="--prefer-lowest"
Expand All @@ -13,6 +14,8 @@ env:
- LARAVEL="^6.0" COMPOSER_FLAGS=""
- LARAVEL="^7.0" COMPOSER_FLAGS="--prefer-lowest"
- LARAVEL="^7.0" COMPOSER_FLAGS=""
- LARAVEL="^8.0" COMPOSER_FLAGS="--prefer-lowest"
- LARAVEL="^8.0" COMPOSER_FLAGS=""

matrix:
exclude:
Expand All @@ -24,11 +27,20 @@ matrix:
env: LARAVEL="^7.0" COMPOSER_FLAGS="--prefer-lowest"
- php: 7.1
env: LARAVEL="^7.0" COMPOSER_FLAGS=""
- php: 7.1
env: LARAVEL="^8.0" COMPOSER_FLAGS="--prefer-lowest"
- php: 7.1
env: LARAVEL="^8.0" COMPOSER_FLAGS=""
allow_failures:
- php: 7.4
env: LARAVEL="^5.5" COMPOSER_FLAGS="--prefer-lowest"
- php: 7.4
env: LARAVEL="^6.0" COMPOSER_FLAGS="--prefer-lowest"
- php: 8.0
env: LARAVEL="^5.5" COMPOSER_FLAGS="--prefer-lowest"
- php: 8.0
env: LARAVEL="^6.0" COMPOSER_FLAGS="--prefer-lowest"


cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.1 || ^8.0",
"illuminate/support": "^5.5 || ^6.0 || ^7.0 || ^8.0"
},
"require-dev": {
Expand Down

0 comments on commit 94fc4d7

Please sign in to comment.