Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
Support Laravel 8
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jul 25, 2020
1 parent 8c19083 commit 616171a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ jobs:
strategy:
matrix:
php: ['7.1', '7.2', '7.3', '7.4']
laravel: ['5.5', '5.6', '5.7', '5.8', '6', '7']
laravel: ['5.5', '5.6', '5.7', '5.8', '6', '7', '8']
exclude:
- php: '7.1'
laravel: '6'
- php: '7.1'
laravel: '7'
- php: '7.1'
laravel: '8'
- php: '7.2'
laravel: '8'

steps:
- name: Checkout Code
Expand Down Expand Up @@ -81,6 +85,14 @@ jobs:
command: composer require "laravel/framework:7.*" "phpunit/phpunit:^8.5|^9.0" --no-update --no-interaction
if: "matrix.laravel == '7'"

- name: Select Laravel 8
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer require "laravel/framework:8.*" "phpunit/phpunit:^9.3" --no-update --no-interaction
if: "matrix.laravel == '8'"

- name: Install Dependencies
uses: nick-invision/retry@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

## Installation

Alt Three Segment is a [Segment](https://segment.com/) bridge for Laravel. This version requires [PHP](https://php.net) 7.1-7.4, and supports Laravel 5.5-7. Simply require the package using [Composer](https://getcomposer.org):
Alt Three Segment is a [Segment](https://segment.com/) bridge for Laravel. This version requires [PHP](https://php.net) 7.1-7.4, and supports Laravel 5.5-8. Simply require the package using [Composer](https://getcomposer.org):

```bash
$ composer require alt-three/segment:^3.5
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
],
"require": {
"php": "^7.1.3",
"illuminate/config": "^5.5 || ^6.0 || ^7.0",
"illuminate/support": "^5.5 || ^6.0 || ^7.0",
"illuminate/config": "^5.5 || ^6.0 || ^7.0 || ^8.0",
"illuminate/support": "^5.5 || ^6.0 || ^7.0 || ^8.0",
"segmentio/analytics-php": "~1.5.2"
},
"require-dev": {
"graham-campbell/analyzer": "^2.4 || ^3.0",
"graham-campbell/testbench": "^5.4",
"graham-campbell/testbench": "^5.5",
"phpunit/phpunit": "^6.5 || ^7.5 || ^8.4 || ^9.0"
},
"autoload": {
Expand Down

0 comments on commit 616171a

Please sign in to comment.