Skip to content

Commit e6b18f3

Browse files
authored
Merge pull request #2067 from dunglas/improve-appveyor
Improve the AppVeyor config
2 parents dd22815 + 94781b7 commit e6b18f3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

appveyor.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ clone_folder: c:\projects\api-platform\core
55
cache:
66
- '%LOCALAPPDATA%\Composer\files'
77

8-
init:
9-
- SET PATH=c:\tools\php72;%PATH%
10-
118
environment:
129
APP_ENV: 'test'
1310

1411
install:
1512
- ps: Set-Service wuauserv -StartupType Manual
16-
- cinst -y php
13+
- cinst -y php composer
14+
- refreshenv
1715
- cd c:\tools\php72
1816
- copy php.ini-production php.ini /Y
1917
- echo date.timezone="UTC" >> php.ini
@@ -24,8 +22,7 @@ install:
2422
- echo extension=php_pdo_sqlite.dll >> php.ini
2523
- echo memory_limit=3G >> php.ini
2624
- cd %APPVEYOR_BUILD_FOLDER%
27-
- php -r "readfile('http://getcomposer.org/installer');" | php
28-
- php composer.phar install --no-interaction --no-progress
25+
- composer install --no-interaction --no-progress
2926

3027
test_script:
3128
- cd %APPVEYOR_BUILD_FOLDER%

0 commit comments

Comments
 (0)