Skip to content

Commit

Permalink
Merge branch 'master' into feature/triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Korben Dallas committed Dec 4, 2020
2 parents 4c0897a + 8fd1bd0 commit b809130
Show file tree
Hide file tree
Showing 31 changed files with 2,532 additions and 1,199 deletions.
23 changes: 12 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cache:
- $HOME/.composer/cache

before_install:
- wget -q -O - https://www.mongodb.org/static/pgp/server-3.2.pub | sudo apt-key add -
- phpenv config-rm xdebug.ini || true
- |
if [ "x$COVERAGE" == "xyes" ]; then
Expand All @@ -28,9 +29,9 @@ script:
fi
- |
if [ "x$COVERAGE" == "xyes" ]; then
./vendor/bin/phpunit --configuration phpunit.travis.xml --coverage-clover build/logs/clover.xml
./vendor/bin/phpunit --configuration phpunit.travis.xml --exclude-group $EXCLUDE_GROUP --coverage-clover build/logs/clover.xml
else
./vendor/bin/phpunit --configuration phpunit.travis.xml
./vendor/bin/phpunit --configuration phpunit.travis.xml --exclude-group $EXCLUDE_GROUP
fi
after_success:
Expand All @@ -46,48 +47,48 @@ matrix:
include:
- stage: Test
php: "7.2"
env: DB=pgsql POSTGRESQL_VERSION=11.0
env: DB=pgsql POSTGRESQL_VERSION=11.0 EXCLUDE_GROUP=WithSchema
sudo: required
services:
- docker
- stage: Test
php: "7.3"
env: DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes
env: DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes EXCLUDE_GROUP=WithSchema
services:
- postgresql
addons:
postgresql: "9.2"
- stage: Test
php: "7.3"
env: DB=pgsql POSTGRESQL_VERSION=9.3 COVERAGE=yes
env: DB=pgsql POSTGRESQL_VERSION=9.3 COVERAGE=yes EXCLUDE_GROUP=WithSchema
services:
- postgresql
addons:
postgresql: "9.3"
- stage: Test
php: "7.3"
env: DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes
env: DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes EXCLUDE_GROUP=WithSchema
services:
- postgresql
addons:
postgresql: "9.4"
- stage: Test
php: "7.3"
env: DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes
env: DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes EXCLUDE_GROUP=WithSchema
services:
- postgresql
addons:
postgresql: "9.5"
- stage: Test
php: "7.3"
env: DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes
env: DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes EXCLUDE_GROUP=WithSchema
services:
- postgresql
addons:
postgresql: "9.6"
- stage: Test
php: "7.3"
env: DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes
env: DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes EXCLUDE_GROUP=WithoutSchema
sudo: required
services:
- postgresql
Expand All @@ -97,7 +98,7 @@ matrix:
- bash ./tests/travis/install-postgres-10.sh
- stage: Test
php: "7.3"
env: DB=pgsql DOCKER_POSTGRES=yes POSTGRESQL_VERSION=11.0 COVERAGE=yes
env: DB=pgsql DOCKER_POSTGRES=yes POSTGRESQL_VERSION=11.0 COVERAGE=yes EXCLUDE_GROUP=WithoutSchema
sudo: required
services:
- docker
Expand All @@ -108,7 +109,7 @@ matrix:
- bash ./tests/travis/install-postgres-11.sh
- stage: Test
php: "7.4"
env: DB=pgsql DOCKER_POSTGRES=yes POSTGRESQL_VERSION=11.0
env: DB=pgsql DOCKER_POSTGRES=yes POSTGRESQL_VERSION=11.0 EXCLUDE_GROUP=WithoutSchema
sudo: required
services:
- docker
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ class SomeExtension extends AbstractExtension
public static function getMixins(): array
{
return [
Blueprint::class => SomeBlueprint::class,
PostgresConnection::class => SomeConnection::class,
PostgresGrammar::class => SomeSchemaGrammar::class,
SomeBlueprint::class => Blueprint::class,
SomeConnection::class => PostgresConnection::class,
SomeSchemaGrammar::class => PostgresGrammar::class,
...
];
}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "umbrellio/laravel-pg-extensions",
"type": "library",
"description": "This is package for new features for Postgres in Laravel Migrations",
"description": "Extensions for Postgres Laravel",
"minimum-stability": "stable",
"authors": [
{
Expand All @@ -12,7 +12,7 @@
"require": {
"php": "7.*",
"doctrine/dbal": "^2.9",
"laravel/framework": "^5.8"
"laravel/framework": "^5.8|^6.0|^7.0|^8.0"
},
"require-dev": {
"umbrellio/code-style-php": "^1.0",
Expand Down

0 comments on commit b809130

Please sign in to comment.