| 1 |
version: build-{build}-{branch} |
| 2 |
|
| 3 |
environment: |
| 4 |
matrix: |
| 5 |
# https://www.appveyor.com/docs/installed-software#python lists available |
| 6 |
# versions |
| 7 |
- PYTHON: "C:\\Python37" |
| 8 |
- PYTHON: "C:\\Python38" |
| 9 |
- PYTHON: "C:\\Python39" |
| 10 |
- PYTHON: "C:\\Python310" |
| 11 |
- PYTHON: "C:\\Python311" |
| 12 |
- PYTHON: "C:\\Python312" |
| 13 |
- PYTHON: "C:\\Python313" |
| 14 |
|
| 15 |
init: |
| 16 |
- "echo %PYTHON%" |
| 17 |
|
| 18 |
install: |
| 19 |
- ps: | |
| 20 |
if (-not (Test-Path $env:PYTHON)) { |
| 21 |
curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/11a389d78892cf90addac8f69433d5e22bfa422a/install_python.ps1 |
| 22 |
.\install_python.ps1 |
| 23 |
} |
| 24 |
- ps: if (-not (Test-Path $env:PYTHON)) { throw "No $env:PYTHON" } |
| 25 |
- "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" |
| 26 |
- python --version |
| 27 |
- pip install -U virtualenv # upgrade pip in tox's virtualenvs |
| 28 |
- pip install tox |
| 29 |
|
| 30 |
build: off |
| 31 |
|
| 32 |
test_script: |
| 33 |
- tox -e py |