forked from nette/tester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
69 lines (56 loc) · 2.61 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
58
59
60
61
62
63
64
65
66
67
68
69
build: off
cache:
- c:\php -> appveyor.yml
clone_folder: c:\projects\tester
init:
- SET ANSICON=121x90 (121x90)
install:
# Install PHP 5.4
- IF EXIST c:\php\54 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\54
- IF %PHP%==1 cd c:\php\54
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.4.44-Win32-VC9-x86.zip
- IF %PHP%==1 7z x php-5.4.44-Win32-VC9-x86.zip >nul
- IF %PHP%==1 del /Q *.zip
# Install PHP 5.5
- IF EXIST c:\php\55 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\55
- IF %PHP%==1 cd c:\php\55
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.5.32-Win32-VC11-x86.zip
- IF %PHP%==1 7z x php-5.5.32-Win32-VC11-x86.zip >nul
- IF %PHP%==1 del /Q *.zip
# Install PHP 5.6
- IF EXIST c:\php\56 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\56
- IF %PHP%==1 cd c:\php\56
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.6.18-Win32-VC11-x86.zip
- IF %PHP%==1 7z x php-5.6.18-Win32-VC11-x86.zip >nul
- IF %PHP%==1 del /Q *.zip
# Install PHP 7.0
- IF EXIST c:\php\70 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\70
- IF %PHP%==1 cd c:\php\70
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.0.3-Win32-VC14-x86.zip
- IF %PHP%==1 7z x php-7.0.3-Win32-VC14-x86.zip >nul
- IF %PHP%==1 del /Q *.zip
# Install PHP 7.0 x64
- IF EXIST c:\php\70x64 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\70x64
- IF %PHP%==1 cd c:\php\70x64
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.0.3-Win32-VC14-x64.zip
- IF %PHP%==1 7z x php-7.0.3-Win32-VC14-x64.zip >nul
- IF %PHP%==1 del /Q *.zip
- cd c:\projects\tester
test_script:
- c:\php\54\php src\tester tests -s -p c:\php\54\php
- c:\php\54\php src\tester tests -s -p c:\php\54\php-cgi
- c:\php\55\php src\tester tests -s -p c:\php\55\php
- c:\php\55\php src\tester tests -s -p c:\php\55\php-cgi
- c:\php\56\php src\tester tests -s -p c:\php\56\php
- c:\php\56\php src\tester tests -s -p c:\php\56\php-cgi
- c:\php\70\php src\tester tests -s -p c:\php\70\php
- c:\php\70\php src\tester tests -s -p c:\php\70\php-cgi
- c:\php\70\php src\tester tests -s -p c:\php\70\phpdbg
- c:\php\70x64\php src\tester tests -s -p c:\php\70x64\php
- c:\php\70x64\php src\tester tests -s -p c:\php\70x64\php-cgi
- c:\php\70x64\php src\tester tests -s -p c:\php\70x64\phpdbg