389c94d3d86bd8460c13c1b75e79c08519bc8539
[Packages/TYPO3.CMS.git] / .appveyor.yml
1 build: false
2 shallow_clone: true
3 platform:
4 - x64
5 clone_folder: C:\projects\typotest
6 clone_depth: 10
7
8 init:
9 - SET PATH=C:\Program Files\OpenSSL;c:\tools\php;C:\Program Files\MySql\MySQL Server 5.6\bin\;%PATH%
10 - SET COMPOSER_NO_INTERACTION=1
11 - SET PHP=1
12
13 environment:
14 TYPO3_PATH_WEB: C:\projects\typotest
15 typo3DatabaseName: "foo"
16 typo3DatabaseUsername: "root"
17 typo3DatabasePassword: "Password12!"
18 typo3DatabaseHost: "127.0.0.1"
19
20 cache:
21 - '%LOCALAPPDATA%\Composer\files'
22 - c:\tools\php -> appveyor.yml
23
24 install:
25 - IF EXIST c:\tools\php (SET PHP=0)
26 - IF %PHP%==1 cinst -y OpenSSL.Light
27 - IF %PHP%==1 cinst -y php
28 - cd c:\tools\php
29 - IF %PHP%==1 copy php.ini-production php.ini
30 - IF %PHP%==1 echo date.timezone="UTC" >> php.ini
31 - IF %PHP%==1 echo extension_dir=ext >> php.ini
32 - IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
33 - IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini
34 - IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
35 - IF %PHP%==1 echo extension=php_mysqli.dll >> php.ini
36 - IF %PHP%==1 echo memory_limit = 512M >> php.ini
37 - cd C:\projects\typotest
38 - php -r "readfile('http://getcomposer.org/installer');" | php
39 - php composer.phar install --prefer-dist -q --no-interaction
40
41 services:
42 - mysql
43
44 test_script:
45 - cd C:\projects\typotest
46 - bin\phpunit.bat -c typo3/sysext/core/Build/UnitTests.xml
47 - bin\phpunit.bat -c typo3/sysext/core/Build/FunctionalTests.xml
48
49 notifications:
50 - provider: Slack
51 incoming_webhook:
52 secure: jzaGHo22fMjVqnSmJyDtj4BNOhrFn9lYNhBkTixU8cxDnh7tJIiuXMzlmjZKho0KSyuqw5hOhAd7aygJPlUTOBcUJYBFJNOz4nz/X6YnY1w=
53 on_build_success: false
54 on_build_failure: true
55 on_build_status_changed: true