You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.3 KiB
35 lines
1.3 KiB
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-v5.10.0-win32\\pypy.exe"
|
|
- PYTHON_EXE: "C:\\pypy2-v5.10.0-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-v5.10.0-win32\pypy.exe") {
|
|
if (!(Test-Path "${env:PYTMP}\pypy2-v5.10.0-win32.zip")) {
|
|
(New-Object Net.WebClient).DownloadFile('https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.0-win32.zip', "${env:PYTMP}\pypy2-v5.10.0-win32.zip");
|
|
}
|
|
7z x -y "${env:PYTMP}\pypy2-v5.10.0-win32.zip" -oC:\ | Out-Null;
|
|
& ${env:PYTHON_EXE} -m ensurepip --upgrade;
|
|
}
|
|
cache:
|
|
- '%TMP%\py\'
|
|
build: off
|
|
test_script:
|
|
- cmd: "%PYTHON_EXE% run.py deps"
|
|
- cmd: "%PYTHON_EXE% run.py ci"
|