-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from squatto/laravel-8-support
Laravel 8 support
- Loading branch information
Showing
4 changed files
with
1,604 additions
and
587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.