Skip to content

Commit 95ebeea

Browse files
committed
add Python 3.8 to the matrix and use custom script to install it
1 parent 299b0de commit 95ebeea

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

appveyor.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ environment:
4646
ENABLE_CONTRIB: 0
4747
ENABLE_HEADLESS: 0
4848

49+
- PYTHON: "C:/Python38"
50+
ENABLE_CONTRIB: 0
51+
ENABLE_HEADLESS: 0
52+
53+
- PYTHON: "C:/Python38-x64"
54+
ENABLE_CONTRIB: 0
55+
ENABLE_HEADLESS: 0
56+
4957
- PYTHON: "C:/Python27"
5058
ENABLE_CONTRIB: 1
5159
ENABLE_HEADLESS: 0
@@ -86,6 +94,14 @@ environment:
8694
ENABLE_CONTRIB: 1
8795
ENABLE_HEADLESS: 0
8896

97+
- PYTHON: "C:/Python38"
98+
ENABLE_CONTRIB: 1
99+
ENABLE_HEADLESS: 0
100+
101+
- PYTHON: "C:/Python38-x64"
102+
ENABLE_CONTRIB: 1
103+
ENABLE_HEADLESS: 0
104+
89105
- PYTHON: "C:/Python27"
90106
ENABLE_CONTRIB: 0
91107
ENABLE_HEADLESS: 1
@@ -126,6 +142,14 @@ environment:
126142
ENABLE_CONTRIB: 0
127143
ENABLE_HEADLESS: 1
128144

145+
- PYTHON: "C:/Python38"
146+
ENABLE_CONTRIB: 0
147+
ENABLE_HEADLESS: 1
148+
149+
- PYTHON: "C:/Python38-x64"
150+
ENABLE_CONTRIB: 0
151+
ENABLE_HEADLESS: 1
152+
129153
- PYTHON: "C:/Python27"
130154
ENABLE_CONTRIB: 1
131155
ENABLE_HEADLESS: 1
@@ -166,9 +190,24 @@ environment:
166190
ENABLE_CONTRIB: 1
167191
ENABLE_HEADLESS: 1
168192

193+
- PYTHON: "C:/Python38"
194+
ENABLE_CONTRIB: 1
195+
ENABLE_HEADLESS: 1
196+
197+
- PYTHON: "C:/Python38-x64"
198+
ENABLE_CONTRIB: 1
199+
ENABLE_HEADLESS: 1
200+
169201
matrix:
170202
fast_finish: true
171203

204+
install:
205+
- ps: |
206+
if (-not (Test-Path $env:PYTHON)) {
207+
curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/11a389d78892cf90addac8f69433d5e22bfa422a/install_python.ps1
208+
.\install_python.ps1
209+
}
210+
172211
build_script:
173212
- cmd: |
174213
"%PYTHON%/python.exe" -m pip install --upgrade pip

0 commit comments

Comments
 (0)