Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit adb37a0

Browse files
committed
AppVeyor CI now officially supports Python
Don't need to install Python by hand
1 parent 9ccb8c8 commit adb37a0

File tree

1 file changed

+18
-27
lines changed

1 file changed

+18
-27
lines changed

appveyor.yml

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ environment:
44
VS90COMNTOOLS: "%VS110COMNTOOLS%"
55
VS100COMNTOOLS: "%VS110COMNTOOLS%"
66
matrix:
7-
- PYTHON: "C:\\Python26_32"
8-
PYTHON_VERSION: "2.6.9"
9-
PYTHON_ARCH: "32"
10-
- PYTHON: "C:\\Python27_32"
11-
PYTHON_VERSION: "2.7.9"
12-
PYTHON_ARCH: "32"
13-
- PYTHON: "C:\\Python33_32"
14-
PYTHON_VERSION: "3.3.6"
15-
PYTHON_ARCH: "32"
16-
- PYTHON: "C:\\Python34_32"
17-
PYTHON_VERSION: "3.4.3"
18-
PYTHON_ARCH: "32"
7+
- PYTHON: "C:\\Python27"
8+
PYTHON_ARCH: 32
9+
- PYTHON: "C:\\Python27-x64"
10+
PYTHON_ARCH: 64
11+
- PYTHON: "C:\\Python33"
12+
PYTHON_ARCH: 32
13+
- PYTHON: "C:\\Python33-x64"
14+
PYTHON_ARCH: 64
15+
- PYTHON: "C:\\Python34"
16+
PYTHON_ARCH: 32
17+
- PYTHON: "C:\\Python34-x64"
18+
PYTHON_ARCH: 32
1919
matrix:
2020
fast_finish: true
2121
init:
@@ -24,22 +24,13 @@ init:
2424
- "ECHO %PYTHON%"
2525
- ps: "ls C:/Python*"
2626
install:
27-
- "git -C %APPVEYOR_BUILD_FOLDER% submodule update --init"
2827
- ps: >
29-
if (Test-Path $env:PYTHON) {
30-
$env:PYTHON\python.exe C:/get-pip.py
31-
$env:PYTHON\Scripts\pip.exe uninstall -y libsass
32-
} else {
33-
(new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/ogrisel/python-appveyor-demo/master/appveyor/install.ps1', 'C:/python-install.ps1')
34-
powershell C:/python-install.ps1
35-
(new-object net.webclient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'C:/get-pip.py')
36-
$env:PYTHON\python.exe C:/get-pip.py
37-
$env:PYTHON\Scripts\pip.exe --version
38-
$env:PYTHON\Scripts\pip.exe install wheel
39-
}
40-
- "%PYTHON%\\Scripts\\pip.exe install --upgrade -e ."
41-
cache:
42-
- "%PYTHON% -> appveyor.yml"
28+
git -C $env:APPVEYOR_BUILD_FOLDER submodule update --init
29+
(new-object net.webclient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'C:/get-pip.py')
30+
$env:PYTHON\python.exe C:/get-pip.py
31+
$env:PYTHON\Scripts\pip.exe --version
32+
$env:PYTHON\Scripts\pip.exe install wheel
33+
$env:PYTHON\Scripts\pip.exe install -e .
4334
build: false
4435
test_script:
4536
- "dir \"C:\\Program Files (x86)\""

0 commit comments

Comments
 (0)