build: false
shallow_clone: true
platform: 'x86'
init:
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php71;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET PHP=1
- SET ANSICON=121x90 (121x90)
install:
- ps: Set-Service wuauserv -StartupType Manual
- IF %PHP%==1 cinst -y OpenSSL.Light
- SET PATH=C:\Program Files\OpenSSL;%PATH%
- cinst -y curl
- SET PATH=C:\Program Files\curl;%PATH%
- IF EXIST c:\tools\php71 (SET PHP=0)
- IF %PHP%==1 cinst -y php --version 7.1.14
- IF %PHP%==1 cd c:\tools\php71
- IF %PHP%==1 copy php.ini-production php.ini
- IF %PHP%==1 echo extension_dir=ext >> php.ini
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
- IF %PHP%==1 echo extension=php_curl.dll >> php.ini
- SET PATH=C:\tools\php71;%PATH%
- cd %APPVEYOR_BUILD_FOLDER%
- appveyor DownloadFile https://getcomposer.org/composer.phar
- php composer.phar install --prefer-dist -n --no-ansi
- appveyor DownloadFile https://phar.phpunit.de/phpunit-6.phar
test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- php phpunit-6.phar
|