2 clone_folder: c:\dokuwiki
6 do_not_increment_build_number: true
7 version: '{build}.{branch}'
11 - PHP_VERSION: '7.0.21'
14 - PHP_VERSION: '5.6.30'
19 - c:\php -> appveyor.yml
22 - SET PATH=c:\php\%PHP_VERSION%;%PATH%
26 - IF NOT EXIST c:\php mkdir c:\php
27 - IF NOT EXIST c:\php\%PHP_VERSION% mkdir c:\php\%PHP_VERSION%
28 - cd c:\php\%PHP_VERSION%
29 - IF NOT EXIST php-installed.txt appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-%PHP_VERSION%-Win32-%VC%-x86.zip
30 - IF NOT EXIST php-installed.txt 7z x php-%PHP_VERSION%-Win32-%VC%-x86.zip -y >nul
31 - IF NOT EXIST php-installed.txt del /Q *.zip
32 - IF NOT EXIST php-installed.txt copy /Y php.ini-development php.ini
33 - IF NOT EXIST php-installed.txt echo max_execution_time=1200 >> php.ini
34 - IF NOT EXIST php-installed.txt echo date.timezone="UTC" >> php.ini
35 - IF NOT EXIST php-installed.txt echo extension_dir=ext >> php.ini
36 - IF NOT EXIST php-installed.txt echo extension=php_openssl.dll >> php.ini
37 - IF NOT EXIST php-installed.txt echo extension=php_mbstring.dll >> php.ini
38 - IF NOT EXIST php-installed.txt echo extension=php_gd2.dll >> php.ini
39 - IF NOT EXIST php-installed.txt echo extension=php_bz2.dll >> php.ini
40 - IF NOT EXIST php-installed.txt echo extension=php_pdo_sqlite.dll >> php.ini
41 - IF NOT EXIST php-installed.txt appveyor DownloadFile https://phar.phpunit.de/phpunit-%PHPUNIT%.phar -FileName phpunit.phar
42 - IF NOT EXIST php-installed.txt type nul >> php-installed.txt
46 - cd c:\dokuwiki\_test
47 - php c:\php\%PHP_VERSION%\phpunit.phar