mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 02:54:03 +00:00
Laravel 7 support (#304)
* Laravel 7 support * Remove language from travis.yml * Fix travis.yml * Consistent indentation in travis.yml * Use dev-master for phpcov * Cleanup * switch up envs * verify both laravel versions are used * 6 -> 7 * Fix travis yml * Use stable phpcov * Different installation for Laravel 7 * Indentation * Fix dockerfile * Fix indentation * Fix tests * Remove fail() calls
This commit is contained in:
parent
526f0826a4
commit
30bab68b6a
9 changed files with 218 additions and 37 deletions
16
.travis.yml
16
.travis.yml
|
|
@ -1,9 +1,10 @@
|
|||
# env:
|
||||
# - LARAVEL_VERSION="^6.0" TESTBENCH_VERSION="~4.0" REDIS_DRIVER=phpredis
|
||||
env:
|
||||
- LARAVEL_VERSION="^7.0"
|
||||
- LARAVEL_VERSION="^6.0"
|
||||
|
||||
language: php
|
||||
php:
|
||||
- '7.2'
|
||||
# language: php
|
||||
# php:
|
||||
# - '7.4'
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
|
@ -11,10 +12,9 @@ services:
|
|||
before_install:
|
||||
- docker-compose up -d
|
||||
|
||||
# install:
|
||||
# - travis_retry docker-compose exec test composer require --no-interaction "laravel/framework:$LARAVEL_VERSION" "orchestra/testbench:$TESTBENCH_VERSION"
|
||||
install:
|
||||
- travis_retry docker-compose exec test composer install --no-interaction
|
||||
- travis_retry docker-compose exec test composer require --no-interaction "laravel/framework:$LARAVEL_VERSION"
|
||||
- travis_retry docker-compose exec test composer install --no-interaction
|
||||
|
||||
before_script:
|
||||
- export DB_USERNAME=root DB_PASSWORD="" DB_DATABASE=tenancy CODECOV_TOKEN="24382d15-84e7-4a55-bea4-c4df96a24a9b"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue