mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:24:04 +00:00
Add 5.8 support (#33)
This commit is contained in:
parent
725b43ce8c
commit
78fd7d43f6
7 changed files with 41 additions and 15 deletions
|
|
@ -1,9 +1,9 @@
|
|||
env:
|
||||
- DB_USERNAME=root DB_PASSWORD="" DB_DATABASE=travis_tenancy CODECOV_TOKEN="24382d15-84e7-4a55-bea4-c4df96a24a9b"
|
||||
- LARAVEL_VERSION="5.7.*" TESTBENCH_VERSION="~3.7"
|
||||
- LARAVEL_VERSION="5.8.*" TESTBENCH_VERSION="~3.8"
|
||||
|
||||
language: php
|
||||
php:
|
||||
- '7.2'
|
||||
- '7.1'
|
||||
|
||||
services:
|
||||
|
|
@ -14,10 +14,13 @@ before_install:
|
|||
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
|
||||
install:
|
||||
- composer require "laravel/framework:$LARAVEL_VERSION" "orchestra/testbench:$TESTBENCH_VERSION"
|
||||
- travis_retry composer install --no-interaction
|
||||
|
||||
before_script:
|
||||
- mysql -e 'CREATE DATABASE travis_tenancy;'
|
||||
- export DB_USERNAME=root DB_PASSWORD="" DB_DATABASE=travis_tenancy CODECOV_TOKEN="24382d15-84e7-4a55-bea4-c4df96a24a9b"
|
||||
- cat vendor/laravel/framework/src/Illuminate/Foundation/Application.php| grep 'const VERSION'
|
||||
|
||||
script: vendor/bin/phpunit -v --coverage-clover=coverage.xml
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue