Attempt to correct the core release used

This commit is contained in:
UndefinedOffset 2018-12-13 14:31:34 -04:00
parent a622fd4d6f
commit 3ab5aadf45

View File

@ -25,7 +25,7 @@ before_script:
# Install composer dependencies # Install composer dependencies
- composer validate - composer validate
- composer require --no-update silverstripe/recipe-core:^1.0 - composer require --no-update silverstripe/recipe-core:"^$CORE_RELEASE"
- composer require --no-update phpunit/phpunit:^5.7 - composer require --no-update phpunit/phpunit:^5.7
- if [[ $CORE_RELEASE == 4.2 ]]; then composer require --no-update silverstripe/versioned:^1.2; fi - if [[ $CORE_RELEASE == 4.2 ]]; then composer require --no-update silverstripe/versioned:^1.2; fi
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.0.x-dev --prefer-dist --no-update; fi - if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.0.x-dev --prefer-dist --no-update; fi