Merge pull request #2553 from open-sausages/pulls/4.6/update-travis

Target 4.6 minor branches in build
This commit is contained in:
Robbie Averill 2020-05-28 09:20:13 -07:00 committed by GitHub
commit 5ec498c0c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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