mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
appveyor: build binaries
This commit is contained in:
parent
d1ce1aa993
commit
9c89bfbccc
@ -3,9 +3,17 @@ shallow_clone: true
|
|||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- PYTHON: "C:\\Python27"
|
- PYTHON: "C:\\Python27"
|
||||||
|
PATH: "C:\\Python27;C:\\Python27\\Scripts;%PATH%"
|
||||||
|
PYINSTALLER_VERSION: "git+https://github.com/pyinstaller/pyinstaller.git"
|
||||||
install:
|
install:
|
||||||
- "%PYTHON%\\Scripts\\pip install --src . -r requirements.txt"
|
- "pip install --src .. -r requirements.txt"
|
||||||
- "%PYTHON%\\python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
|
- "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
|
||||||
build: off # Not a C# project
|
build: off # Not a C# project
|
||||||
test_script:
|
test_script:
|
||||||
- "%PYTHON%\\Scripts\\py.test -n 4"
|
- "py.test -n 4"
|
||||||
|
after_test:
|
||||||
|
- |
|
||||||
|
git clone https://github.com/mitmproxy/release.git ..\release
|
||||||
|
pip install -e ..\release
|
||||||
|
python ..\release\rtool.py -p mitmproxy bdist
|
||||||
|
- ps: Get-ChildItem ..\release\dist\*.zip | ForEach { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
Loading…
Reference in New Issue
Block a user