Reduce Behat builds to SS 4.3 and update postgres version

This commit is contained in:
Robbie Averill 2019-06-25 11:12:16 +12:00
parent eddbc90524
commit 614819a1d3

View File

@ -23,7 +23,7 @@ matrix:
- php: 7.1
env: DB=MYSQL INSTALLER_VERSION=4.4.x-dev PHPUNIT_COVERAGE_TEST=1
- php: 7.2
env: DB=MYSQL INSTALLER_VERSION=4.4.x-dev BEHAT_TEST=1
env: DB=MYSQL INSTALLER_VERSION=4.3.x-dev BEHAT_TEST=1
- php: 7.3
env: DB=MYSQL INSTALLER_VERSION=4.x-dev PHPUNIT_TEST=1
@ -39,7 +39,7 @@ before_script:
# Install composer
- composer validate
- composer require silverstripe/installer:"$INSTALLER_VERSION" silverstripe/recipe-testing:^1 --no-update
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.0.x-dev; fi
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.1.x-dev; fi
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
# Behat bootstrapping