Skip to content

Commit 0447f04

Browse files
authored
Start testing in appveyor with php 8 (#189)
1 parent d2b9034 commit 0447f04

File tree

1 file changed

+42
-16
lines changed

1 file changed

+42
-16
lines changed

.appveyor.yml

Lines changed: 42 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,26 @@ cache:
2929
environment:
3030
BIN_SDK_VER: 2.2.0
3131
matrix:
32+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
33+
ARCH: x86
34+
VC: vs16
35+
PHP_VER: 8.0.0rc1
36+
TS: 1
37+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
38+
ARCH: x64
39+
VC: vs16
40+
PHP_VER: 8.0.0rc1
41+
TS: 1
42+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
43+
ARCH: x86
44+
VC: vs16
45+
PHP_VER: 8.0.0rc1
46+
TS: 0
47+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
48+
ARCH: x64
49+
VC: vs16
50+
PHP_VER: 8.0.0rc1
51+
TS: 0
3252
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
3353
ARCH: x64
3454
VC: vc14
@@ -72,62 +92,62 @@ environment:
7292
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
7393
ARCH: x64
7494
VC: vc15
75-
PHP_VER: 7.2.32
95+
PHP_VER: 7.2.34
7696
TS: 0
7797
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
7898
ARCH: x64
7999
VC: vc15
80-
PHP_VER: 7.2.32
100+
PHP_VER: 7.2.34
81101
TS: 1
82102
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
83103
ARCH: x86
84104
VC: vc15
85-
PHP_VER: 7.2.32
105+
PHP_VER: 7.2.34
86106
TS: 0
87107
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
88108
ARCH: x86
89109
VC: vc15
90-
PHP_VER: 7.2.32
110+
PHP_VER: 7.2.34
91111
TS: 1
92112
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
93113
ARCH: x64
94114
VC: vc15
95-
PHP_VER: 7.3.20
115+
PHP_VER: 7.3.23
96116
TS: 0
97117
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
98118
ARCH: x64
99119
VC: vc15
100-
PHP_VER: 7.3.20
120+
PHP_VER: 7.3.23
101121
TS: 1
102122
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
103123
ARCH: x86
104124
VC: vc15
105-
PHP_VER: 7.3.20
125+
PHP_VER: 7.3.23
106126
TS: 0
107127
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
108128
ARCH: x86
109129
VC: vc15
110-
PHP_VER: 7.3.20
130+
PHP_VER: 7.3.23
111131
TS: 1
112132
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
113133
ARCH: x64
114134
VC: vc15
115-
PHP_VER: 7.4.8
135+
PHP_VER: 7.4.11
116136
TS: 0
117137
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
118138
ARCH: x64
119139
VC: vc15
120-
PHP_VER: 7.4.8
140+
PHP_VER: 7.4.11
121141
TS: 1
122142
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
123143
ARCH: x86
124144
VC: vc15
125-
PHP_VER: 7.4.8
145+
PHP_VER: 7.4.11
126146
TS: 0
127147
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
128148
ARCH: x86
129149
VC: vc15
130-
PHP_VER: 7.4.8
150+
PHP_VER: 7.4.11
131151
TS: 1
132152

133153
build_script:
@@ -136,9 +156,12 @@ build_script:
136156
if ('0' -eq $env:TS) { $ts_part = '-nts' }
137157
$bname = 'php-devel-pack-' + $env:PHP_VER + $ts_part + '-Win32-' + $env:VC.toUpper() + '-' + $env:ARCH + '.zip'
138158
if (-not (Test-Path c:\build-cache\$bname)) {
139-
Invoke-WebRequest "http://windows.php.net/downloads/releases/archives/$bname" -OutFile "c:\build-cache\$bname"
159+
Invoke-WebRequest "https://windows.php.net/downloads/releases/archives/$bname" -OutFile "c:\build-cache\$bname"
140160
if (-not (Test-Path c:\build-cache\$bname)) {
141-
Invoke-WebRequest "http://windows.php.net/downloads/releases/$bname" -OutFile "c:\build-cache\$bname"
161+
Invoke-WebRequest "https://windows.php.net/downloads/releases/$bname" -OutFile "c:\build-cache\$bname"
162+
if (-not (Test-Path c:\build-cache\$bname)) {
163+
Invoke-WebRequest "https://windows.php.net/downloads/qa/$bname" -OutFile "c:\build-cache\$bname"
164+
}
142165
}
143166
}
144167
$dname0 = 'php-' + $env:PHP_VER + '-devel-' + $env:VC.toUpper() + '-' + $env:ARCH
@@ -181,9 +204,12 @@ test_script:
181204
if ('0' -eq $env:TS) { $ts_part = '-nts' }
182205
$bname = 'php-' + $env:PHP_VER + $ts_part + '-Win32-' + $env:VC.toUpper() + '-' + $env:ARCH + '.zip'
183206
if (-not (Test-Path c:\build-cache\$bname)) {
184-
Invoke-WebRequest "http://windows.php.net/downloads/releases/archives/$bname" -OutFile "c:\build-cache\$bname"
207+
Invoke-WebRequest "https://windows.php.net/downloads/releases/archives/$bname" -OutFile "c:\build-cache\$bname"
185208
if (-not (Test-Path c:\build-cache\$bname)) {
186-
Invoke-WebRequest "http://windows.php.net/downloads/releases/$bname" -OutFile "c:\build-cache\$bname"
209+
Invoke-WebRequest "https://windows.php.net/downloads/releases/$bname" -OutFile "c:\build-cache\$bname"
210+
if (-not (Test-Path c:\build-cache\$bname)) {
211+
Invoke-WebRequest "https://windows.php.net/downloads/qa/$bname" -OutFile "c:\build-cache\$bname"
212+
}
187213
}
188214
}
189215
$dname = 'php-' + $env:PHP_VER + $ts_part + '-' + $env:VC.toUpper() + '-' + $env:ARCH

0 commit comments

Comments
 (0)