[TASK] Improve acceptance test for extensionmanager
[Packages/TYPO3.CMS.git] / .appveyor.yml
1 build: false
2 shallow_clone: false
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 extension=php_bz2.dll >> php.ini
37   - IF %PHP%==1 echo memory_limit = 512M >> php.ini
38   - cd C:\projects\typotest
39   - php -r "readfile('http://getcomposer.org/installer');" | php
40   - php composer.phar install --prefer-dist --no-interaction
41
42 services:
43   - mysql
44
45 test_script:
46   - cd C:\projects\typotest
47   - bin\phpunit.bat -c typo3/sysext/core/Build/UnitTests.xml
48   - bin\phpunit.bat -c typo3/sysext/core/Build/FunctionalTests.xml
49
50 notifications:
51   - provider: Slack
52     incoming_webhook:
53       secure: jzaGHo22fMjVqnSmJyDtj4BNOhrFn9lYNhBkTixU8cxDnh7tJIiuXMzlmjZKho0KSyuqw5hOhAd7aygJPlUTOBcUJYBFJNOz4nz/X6YnY1w=
54     on_build_success: false
55     on_build_failure: true
56     on_build_status_changed: true