Skip to content

Commit

Permalink
Use PHP 7.2 in AppVeyor builds (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM authored and florianeckerstorfer committed Feb 27, 2018
1 parent b2ccf7b commit c1450d5
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .appveyor.yml
Expand Up @@ -7,7 +7,7 @@ cache:
- '%LOCALAPPDATA%\Composer\files'

init:
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php71;%PATH%
- SET PATH=C:\Program Files\OpenSSL;C:\tools\php;%PATH%

environment:
matrix:
Expand All @@ -17,22 +17,19 @@ install:
- cinst -y OpenSSL.Light
- sc config wuauserv start= auto
- net start wuauserv
- cinst -y php
- cd c:\tools\php71
- cinst -y php --params "/InstallDir:C:\tools\php"
- cd C:\tools\php
- copy php.ini-production php.ini /Y
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- echo extension=php_mbstring.dll >> php.ini
- echo extension=php_fileinfo.dll >> php.ini
- echo memory_limit=1G >> php.ini
- cd c:\projects\cocur\slugify
- php -r "readfile('http://getcomposer.org/installer');" | php
- cd %APPVEYOR_BUILD_FOLDER%
- php -r "readfile('https://getcomposer.org/installer');" | php
- php composer.phar update %COMPOSER_FLAGS% --no-interaction --no-progress

test_script:
- cd c:\projects\cocur\slugify
- vendor\bin\phpunit.bat --verbose
- cd %APPVEYOR_BUILD_FOLDER%
- vendor\bin\phpunit --verbose --colors=always

notifications:
- provider: Webhook
Expand Down

0 comments on commit c1450d5

Please sign in to comment.