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:
|
include:
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
env:
|
env:
|
||||||
- DB=MYSQL
|
- DB=PGSQL
|
||||||
- PHPCS_TEST=1
|
- PHPCS_TEST=1
|
||||||
- PHPUNIT_TEST=framework
|
- PHPUNIT_TEST=framework
|
||||||
|
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
env:
|
env:
|
||||||
- DB=PGSQL
|
- DB=PGSQL
|
||||||
|
- PDO=1
|
||||||
- PHPUNIT_TEST=framework
|
- PHPUNIT_TEST=framework
|
||||||
|
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
if: type IN (cron)
|
if: type IN (cron)
|
||||||
env:
|
env:
|
||||||
- DB=MYSQL
|
- DB=MYSQL
|
||||||
- PDO=1
|
|
||||||
- PHPUNIT_COVERAGE_TEST=framework
|
- PHPUNIT_COVERAGE_TEST=framework
|
||||||
|
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
@ -50,7 +50,6 @@ matrix:
|
|||||||
- php: 7.3.0RC1
|
- php: 7.3.0RC1
|
||||||
env:
|
env:
|
||||||
- DB=MYSQL
|
- DB=MYSQL
|
||||||
- PDO=1
|
|
||||||
- PHPUNIT_TEST=framework
|
- PHPUNIT_TEST=framework
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: xenial
|
dist: xenial
|
||||||
@ -74,7 +73,7 @@ before_script:
|
|||||||
# Install composer dependencies
|
# Install composer dependencies
|
||||||
- composer validate
|
- composer validate
|
||||||
- mkdir ./public
|
- 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
|
- 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
|
- 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
|
- 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