Skip to content

Commit b8c7d2d

Browse files
authored
PHPC-1695: Run appveyor tests on PHP 8 (#1174)
1 parent 60febd0 commit b8c7d2d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.appveyor.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ environment:
1515
CONFIGURE_OPTS: --enable-mongodb --with-mongodb-sasl=yes --with-mongodb-client-side-encryption=yes
1616

1717
matrix:
18+
- PHP_VER: 8.0.0rc2
19+
TS: 1
20+
CRT: vs16
21+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
1822
- PHP_VER: 7.4.4
1923
TS: 1
2024
CRT: vc15
@@ -71,6 +75,14 @@ install:
7175
# Latest versions will be in releases/ instead of releases/archives
7276
if (-not (Test-Path c:\build-cache\$devel_pkg)) {
7377
Invoke-WebRequest "http://windows.php.net/downloads/releases/$devel_pkg" -OutFile "c:\build-cache\$devel_pkg"
78+
79+
if (-not (Test-Path c:\build-cache\$devel_pkg)) {
80+
Invoke-WebRequest "https://windows.php.net/downloads/qa/archives/$devel_pkg" -OutFile "c:\build-cache\$devel_pkg"
81+
82+
if (-not (Test-Path c:\build-cache\$devel_pkg)) {
83+
Invoke-WebRequest "https://windows.php.net/downloads/qa/$devel_pkg" -OutFile "c:\build-cache\$devel_pkg"
84+
}
85+
}
7486
}
7587
}
7688
@@ -133,6 +145,14 @@ test_script:
133145
# Latest versions will be in releases/ instead of releases/archives
134146
if (-not (Test-Path c:\build-cache\$runtime_pkg)) {
135147
Invoke-WebRequest "http://windows.php.net/downloads/releases/$runtime_pkg" -OutFile "c:\build-cache\$runtime_pkg"
148+
149+
if (-not (Test-Path c:\build-cache\$runtime_pkg)) {
150+
Invoke-WebRequest "https://windows.php.net/downloads/qa/archives/$runtime_pkg" -OutFile "c:\build-cache\$runtime_pkg"
151+
152+
if (-not (Test-Path c:\build-cache\$runtime_pkg)) {
153+
Invoke-WebRequest "https://windows.php.net/downloads/qa/$runtime_pkg" -OutFile "c:\build-cache\$runtime_pkg"
154+
}
155+
}
136156
}
137157
}
138158

0 commit comments

Comments
 (0)