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