Skip to content

Commit

Permalink
Merge pull request #94 from squatto/laravel-8-support
Browse files Browse the repository at this point in the history
Laravel 8 support
  • Loading branch information
jgrossi authored Oct 31, 2020
2 parents fbf480b + f3c2ba2 commit a96ed6a
Show file tree
Hide file tree
Showing 4 changed files with 1,604 additions and 587 deletions.
34 changes: 26 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,41 @@
language: php
php:
- '7.2'
- '7.3'

matrix:
include:
- php: 7.2
env: CORCEL='^4.0'
- php: 7.3
env: CORCEL='^4.0'
- php: 7.3
env: CORCEL='^5.0'
- php: 7.4
env: CORCEL='^4.0'
- php: 7.4
env: CORCEL='^5.0'

dist: trusty
sudo: required

addons:
apt:
packages:
- unzip
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
before_install:

before_script:
- unzip tests/config/database.sql.zip -d tests/config/
- mysql -u root -e "create database corcel_acf;"
- mysql -u root corcel_acf < tests/config/database.sql
before_script:

before_install:
- rm composer.lock
- composer self-update
- composer install
- composer require jgrossi/corcel:$CORCEL --no-interaction --no-update

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

script:
- mkdir -p build/logs
- ./vendor/bin/phpunit
- ./vendor/bin/phpunit
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
],
"require": {
"php": ">=7.2",
"jgrossi/corcel": "^4.0"
"jgrossi/corcel": "^4.0|^5.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0"
"phpunit/phpunit": "^8.4|^9.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit a96ed6a

Please sign in to comment.