mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: ensure that there are PGSQL builds both with and without PDO
This commit is contained in:
parent
2615399535
commit
a7b5de5de4
@ -20,20 +20,20 @@ matrix:
|
||||
include:
|
||||
- php: 5.6
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- DB=PGSQL
|
||||
- PHPCS_TEST=1
|
||||
- PHPUNIT_TEST=framework
|
||||
|
||||
- php: 7.0
|
||||
env:
|
||||
- DB=PGSQL
|
||||
- PDO=1
|
||||
- PHPUNIT_TEST=framework
|
||||
|
||||
- php: 7.1
|
||||
if: type IN (cron)
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PDO=1
|
||||
- PHPUNIT_COVERAGE_TEST=framework
|
||||
|
||||
- php: 7.2
|
||||
@ -50,7 +50,6 @@ matrix:
|
||||
- php: 7.3.0RC1
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PDO=1
|
||||
- PHPUNIT_TEST=framework
|
||||
sudo: required
|
||||
dist: xenial
|
||||
@ -74,7 +73,7 @@ before_script:
|
||||
# Install composer dependencies
|
||||
- composer validate
|
||||
- mkdir ./public
|
||||
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.1.x-dev --no-update; fi
|
||||
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.2.x-dev --no-update; fi
|
||||
- if [[ $DB == SQLITE ]]; then composer require silverstripe/sqlite3:2.0.x-dev --no-update; fi
|
||||
- composer require silverstripe/recipe-testing:^1 silverstripe/recipe-core:4.4.x-dev silverstripe/admin:1.4.x-dev silverstripe/versioned:1.4.x-dev --no-update
|
||||
- if [[ $PHPUNIT_TEST == cms ]]; then composer require silverstripe/recipe-cms:4.4.x-dev --no-update; fi
|
||||
|
Loading…
Reference in New Issue
Block a user