Minor optimizations in PluginController
[dokuwiki.git] / appveyor.yml
blobb4177d2955c0cd9c940c9455377c2ef257b6d399
1 build: false
2 clone_folder: c:\dokuwiki
3 max_jobs: 3
4 platform: x86
5 pull_requests:
6   do_not_increment_build_number: true
7 version: '{build}.{branch}'
9 environment:
10   matrix:
11     - PHP_VERSION: '7.2.4'
12       VC: 'VC15'
13       PHPUNIT: '7'
14     - PHP_VERSION: '7.0.29'
15       VC: 'VC14'
16       PHPUNIT: '6'
17     - PHP_VERSION: '5.6.35'
18       VC: 'VC11'
19       PHPUNIT: '5'
21 cache:
22   - c:\php -> appveyor.yml
24 init:
25   - SET PATH=c:\php\%PHP_VERSION%;%PATH%
27 install:
28   - echo %PHP_VERSION%
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
47 test_script:
48   - php -v
49   - cd c:\dokuwiki\_test
50   - php c:\php\%PHP_VERSION%\phpunit.phar