aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-12-03 12:56:41 +0100
committerMaximilian Hils <git@maximilianhils.com>2015-12-03 12:56:41 +0100
commit9c89bfbcccc7895c332e1b36adabae66afb72ebe (patch)
tree3715f5cabda6b08b95dfc12e5b951ae9b7812cfc
parentd1ce1aa993eb431a0db9048a42830c1234571c29 (diff)
downloadmitmproxy-9c89bfbcccc7895c332e1b36adabae66afb72ebe.tar.gz
mitmproxy-9c89bfbcccc7895c332e1b36adabae66afb72ebe.tar.bz2
mitmproxy-9c89bfbcccc7895c332e1b36adabae66afb72ebe.zip
appveyor: build binaries
-rw-r--r--.appveyor.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index dbb6d2fa..3729f30d 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -3,9 +3,17 @@ shallow_clone: true
environment:
matrix:
- PYTHON: "C:\\Python27"
+ PATH: "C:\\Python27;C:\\Python27\\Scripts;%PATH%"
+ PYINSTALLER_VERSION: "git+https://github.com/pyinstaller/pyinstaller.git"
install:
- - "%PYTHON%\\Scripts\\pip install --src . -r requirements.txt"
- - "%PYTHON%\\python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
+ - "pip install --src .. -r requirements.txt"
+ - "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
build: off # Not a C# project
test_script:
- - "%PYTHON%\\Scripts\\py.test -n 4" \ No newline at end of file
+ - "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 } \ No newline at end of file