Skip to content

Commit

Permalink
Merge pull request #229 from franzose/6.x
Browse files Browse the repository at this point in the history
6.x
  • Loading branch information
franzose authored May 4, 2020
2 parents 831d8bb + 11ba823 commit de50cfc
Show file tree
Hide file tree
Showing 76 changed files with 9,133 additions and 4,164 deletions.
7 changes: 7 additions & 0 deletions .env.testing.example
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
8 changes: 6 additions & 2 deletions .gitignore
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
110 changes: 102 additions & 8 deletions .travis.yml
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+?$/
Loading

0 comments on commit de50cfc

Please sign in to comment.