forked from wbond/asn1crypto
-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
35 lines (35 loc) · 1.3 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: "{build}"
skip_tags: true
environment:
matrix:
- PYTHON_EXE: "C:\\Python26\\python.exe"
- PYTHON_EXE: "C:\\Python26-x64\\python.exe"
- PYTHON_EXE: "C:\\Python26-x64\\python.exe"
OSCRYPTO_USE_WINLEGACY: "true"
- PYTHON_EXE: "C:\\Python33\\python.exe"
- PYTHON_EXE: "C:\\Python33\\python.exe"
OSCRYPTO_USE_WINLEGACY: "true"
- PYTHON_EXE: "C:\\Python33-x64\\python.exe"
- PYTHON_EXE: "C:\\pypy2.7-v7.3.2-win32\\pypy.exe"
- PYTHON_EXE: "C:\\pypy2.7-v7.3.2-win32\\pypy.exe"
OSCRYPTO_USE_WINLEGACY: "true"
install:
- ps: |-
$env:PYTMP = "${env:TMP}\py";
if (!(Test-Path "$env:PYTMP")) {
New-Item -ItemType directory -Path "$env:PYTMP" | Out-Null;
}
if ("${env:PYTHON_EXE}" -eq "C:\pypy2.7-v7.3.2-win32\pypy.exe") {
if (!(Test-Path "${env:PYTMP}\pypy2.7-v7.3.2-win32.zip")) {
(New-Object Net.WebClient).DownloadFile('https://downloads.python.org/pypy/pypy2.7-v7.3.2-win32.zip', "${env:PYTMP}\pypy2.7-v7.3.2-win32.zip");
}
7z x -y "${env:PYTMP}\pypy2.7-v7.3.2-win32.zip" -oC:\ | Out-Null;
$env:PYTHONWARNINGS = "ignore:DEPRECATION";
& ${env:PYTHON_EXE} -m ensurepip;
}
cache:
- '%TMP%\py\'
build: off
test_script:
- cmd: "%PYTHON_EXE% run.py deps"
- cmd: "%PYTHON_EXE% run.py ci"