-
Notifications
You must be signed in to change notification settings - Fork 104
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 #229 from franzose/6.x
6.x
- Loading branch information
Showing
76 changed files
with
9,133 additions
and
4,164 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
DB_DRIVER=mysql | ||
DB_HOST=127.0.0.1 | ||
DB_PORT=5506 | ||
DB_USERNAME=user | ||
DB_PASSWORD=userpass | ||
DB_NAME=closuretabletest | ||
DB_COLLATION=utf8_unicode_ci |
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,4 +1,8 @@ | ||
/.idea/ | ||
/docker | ||
/vendor | ||
/.env.testing | ||
/docker-compose.yaml | ||
/_ide_helper.php | ||
composer.phar | ||
composer.lock | ||
.DS_Store | ||
.DS_Store |
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,21 +1,115 @@ | ||
language: php | ||
|
||
services: | ||
- mysql | ||
- postgresql | ||
|
||
cache: | ||
directories: | ||
- .composer | ||
|
||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
|
||
env: | ||
- LARAVEL_VERSION=5.4.* | ||
- LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- LARAVEL_VERSION=5.5.* | ||
- LARAVEL_VERSION=5.5.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- LARAVEL_VERSION=5.6.* | ||
- LARAVEL_VERSION=5.6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- LARAVEL_VERSION=5.7.* | ||
- LARAVEL_VERSION=5.7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- LARAVEL_VERSION=5.8.* | ||
- LARAVEL_VERSION=5.8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- LARAVEL_VERSION=6.* | ||
- LARAVEL_VERSION=6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- LARAVEL_VERSION=7.* | ||
- LARAVEL_VERSION=7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
|
||
matrix: | ||
exclude: | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.6.* | ||
- php: 7.4 | ||
env: LARAVEL_VERSION=5.6.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.4 | ||
env: LARAVEL_VERSION=5.6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.7.* | ||
- php: 7.4 | ||
env: LARAVEL_VERSION=5.7.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.4 | ||
env: LARAVEL_VERSION=5.7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.8.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.8.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=5.8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.8.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=6.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=6.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=6.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=7.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=7.* | ||
- php: 7.0 | ||
env: LARAVEL_VERSION=7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=7.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.4.* | ||
- php: 7.2 | ||
env: LARAVEL_VERSION=5.4.* | ||
- php: 7.3 | ||
env: LARAVEL_VERSION=5.4.* | ||
- php: 7.4 | ||
env: LARAVEL_VERSION=5.4.* | ||
- php: 7.1 | ||
env: LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.2 | ||
env: LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.3 | ||
env: LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
- php: 7.4 | ||
env: LARAVEL_VERSION=5.4.* DB_DRIVER=pgsql DB_PORT=5432 DB_USERNAME=travis DB_NAME=travis | ||
|
||
sudo: false | ||
# ensure that the specific Laravel version is required | ||
before_install: | ||
- export COMPOSER_CACHE_DIR=`pwd`/.composer | ||
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update | ||
|
||
install: travis_retry composer install --no-interaction --prefer-source | ||
install: composer update --no-interaction --prefer-dist | ||
|
||
before_script: | ||
- mysql -e 'create database closuretabletest;' | ||
- php ./tests/script-change-testcase-return-type.php | ||
|
||
script: vendor/bin/phpunit | ||
script: | ||
- vendor/bin/phpunit | ||
|
||
branches: | ||
only: | ||
- master | ||
- feature/laravel-5 | ||
- 6.x | ||
- improve-travis | ||
- postgres-testing | ||
# version tag, e.g. v1.0.0 | ||
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/ | ||
- /^\d+\.\d+?$/ |
Oops, something went wrong.