File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ before_install:
52
52
53
53
if [[ $TRAVIS_PHP_VERSION = 5.* || $TRAVIS_PHP_VERSION = hhvm* ]]; then
54
54
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)
56
56
$HOME/.phpenv/versions/7.1/bin/php $HOME/.phpenv/versions/7.1/bin/composer $*
57
57
}
58
58
export -f composer
@@ -188,6 +188,18 @@ install:
188
188
SYMFONY_VERSION=$(cat composer.json | grep '^ *"dev-master". *"[1-9]' | grep -o '[0-9.]*')
189
189
fi
190
190
191
+ - |
192
+ # Install symfony/flex
193
+ if [[ ! $TRAVIS_PHP_VERSION = hhvm* ]]; then
194
+ if [[ $deps = low ]]; then
195
+ export SYMFONY_REQUIRE='>=2.3'
196
+ else
197
+ export SYMFONY_REQUIRE=">=$SYMFONY_VERSION"
198
+ fi
199
+ export SYMFONY_ENDPOINT=none
200
+ composer global require symfony/flex dev-master#24a9161d9a818123be2c5ee611b8a4fc4e501a11
201
+ fi
202
+
191
203
- |
192
204
# Legacy tests are skipped when deps=high and when the current branch version has not the same major version number than the next one
193
205
[[ $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 10
10
- SET PATH=c:\php;%PATH%
11
11
- SET COMPOSER_NO_INTERACTION=1
12
12
- SET SYMFONY_DEPRECATIONS_HELPER=strict
13
+ - SET SYMFONY_ENDPOINT=none
14
+ - SET "SYMFONY_REQUIRE=>=2.8"
13
15
- SET ANSICON=121x90 (121x90)
14
16
- SET SYMFONY_PHPUNIT_VERSION=4.8
15
17
- REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 1 /f
@@ -51,9 +53,10 @@ install:
51
53
- copy /Y php.ini-min php.ini
52
54
- echo extension=php_openssl.dll >> php.ini
53
55
- cd c:\projects\symfony
54
- - IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/ download/1.3.0 /composer.phar)
56
+ - IF NOT EXIST composer.phar (appveyor DownloadFile https://github.com/composer/composer/releases/ download/1.7.1 /composer.phar)
55
57
- php composer.phar self-update
56
58
- copy /Y .composer\* %APPDATA%\Composer\
59
+ - php composer.phar global require --no-progress symfony/flex dev-master#24a9161d9a818123be2c5ee611b8a4fc4e501a11
57
60
- php .github/build-packages.php "HEAD^" src\Symfony\Bridge\PhpUnit
58
61
- IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev)
59
62
- php composer.phar config platform.php 5.3.9
You can’t perform that action at this time.
0 commit comments