File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Open diff view settings
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Open diff view settings
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ before_install:
5252
5353 if [[ $TRAVIS_PHP_VERSION = 5.* || $TRAVIS_PHP_VERSION = hhvm* ]]; then
5454 composer () {
55- $HOME/.phpenv/versions/7.1/bin/composer config platform.php $(echo ' <?php echo preg_replace("/-.*/", "", PHP_VERSION);' | php /dev/stdin)
55+ $HOME/.phpenv/versions/7.1/bin/php $HOME/.phpenv/versions/7.1/bin/ composer config platform.php $(echo ' <?php echo preg_replace("/-.*/", "", PHP_VERSION);' | php /dev/stdin)
5656 $HOME/.phpenv/versions/7.1/bin/php $HOME/.phpenv/versions/7.1/bin/composer $*
5757 }
5858 export -f composer
@@ -188,6 +188,15 @@ install:
188188 SYMFONY_VERSION=$(cat composer.json | grep '^ *"dev-master". *"[1-9]' | grep -o '[0-9.]*')
189189 fi
190190
191+ - |
192+ # Install symfony/flex
193+ if [[ $deps = low ]]; then
194+ export SYMFONY_REQUIRE='>=2.3'
195+ else
196+ export SYMFONY_REQUIRE=">=$SYMFONY_VERSION"
197+ fi
198+ composer global require symfony/flex dev-master#f4f4a00cf8dd58b0bf9cdaaad92816d7d4a84016
199+
191200 - |
192201 # Legacy tests are skipped when deps=high and when the current branch version has not the same major version number than the next one
193202 [[ $deps = high && ${SYMFONY_VERSION%.*} != $(git show $(git ls-remote --heads | grep -FA1 /$SYMFONY_VERSION | tail -n 1):composer.json | grep '^ *"dev-master". *"[1-9]' | grep -o '[0-9]*' | head -n 1) ]] && LEGACY=,legacy
Original file line number Diff line number Diff line change 1010 - SET PATH=c:\php;%PATH%
1111 - SET COMPOSER_NO_INTERACTION=1
1212 - SET SYMFONY_DEPRECATIONS_HELPER=strict
13+ - SET "SYMFONY_REQUIRE=>=2.8"
1314 - SET ANSICON=121x90 (121x90)
1415 - SET SYMFONY_PHPUNIT_VERSION=4.8
1516 - REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 1 /f
@@ -51,9 +52,10 @@ install:
5152 - copy /Y php.ini-min php.ini
5253 - echo extension=php_openssl.dll >> php.ini
5354 - cd c:\projects\symfony
54- - IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/ download/1.3.0 /composer.phar)
55+ - IF NOT EXIST composer.phar (appveyor DownloadFile https://github.com/composer/composer/releases/ download/1.7.1 /composer.phar)
5556 - php composer.phar self-update
5657 - copy /Y .composer\* %APPDATA%\Composer\
58+ - php composer.phar global require --no-progress symfony/flex dev-master#f4f4a00cf8dd58b0bf9cdaaad92816d7d4a84016
5759 - php .github/build-packages.php "HEAD^" src\Symfony\Bridge\PhpUnit
5860 - IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev)
5961 - php composer.phar config platform.php 5.3.9
You can’t perform that action at this time.
0 commit comments