Target 4.6 minor branches in build

This commit is contained in:
Maxime Rainville 2020-05-28 17:56:47 +12:00
parent c46454f946
commit 79813ebd15

View File

@ -21,7 +21,7 @@ addons:
env: env:
global: global:
- TRAVIS_NODE_VERSION="10" - TRAVIS_NODE_VERSION="10"
- COMPOSER_ROOT_VERSION="4.x-dev" - COMPOSER_ROOT_VERSION="4.6.x-dev"
- SS_BASE_URL="http://localhost:8080/" - SS_BASE_URL="http://localhost:8080/"
- SS_ENVIRONMENT_TYPE="dev" - SS_ENVIRONMENT_TYPE="dev"
@ -55,7 +55,7 @@ before_script:
# Install composer dependencies # Install composer dependencies
- composer validate - composer validate
- composer require --no-update silverstripe/recipe-testing:^1 silverstripe/recipe-cms:4.x-dev - composer require --no-update silverstripe/recipe-testing:^1 silverstripe/recipe-cms:4.6.x-dev
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.x-dev; fi - if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.x-dev; fi
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile - composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile