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