mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX: Make PR builds work.
PR builds are consistently failing because the version of framework being used cannot be inferred. This environment variable provides the answer. It will need to be fixed for each major release, but I think that’s less maintenance burden than complicating the build script to read this from composer.json:extra.branch-alias.dev-master.
This commit is contained in:
parent
f9581438b5
commit
3ea23ce2b7
@ -44,6 +44,7 @@ before_script:
|
||||
- phpenv config-rm xdebug.ini
|
||||
- "export DISPLAY=\":99\""
|
||||
- "export XVFBARGS=\":99 -ac -screen 0 1024x768x16\""
|
||||
- "export COMPOSER_ROOT_VERSION=4.0.x-dev"
|
||||
- "if [ \"$na\" = \"\" ]; then composer install --prefer-dist; fi"
|
||||
- "if [ \"$DB\" = \"PGSQL\" ]; then composer require silverstripe/postgresql:2.0.x-dev --prefer-dist; fi"
|
||||
- "if [ \"$DB\" = \"SQLITE\" ]; then composer require silverstripe/sqlite3:2.0.x-dev --prefer-dist; fi"
|
||||
|
Loading…
x
Reference in New Issue
Block a user