From a7b5de5de47319b204324d23e5a33403f28df5f7 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Thu, 4 Oct 2018 20:38:55 +1300 Subject: [PATCH] FIX: ensure that there are PGSQL builds both with and without PDO --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ff7c3f758..1411144aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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