2015-06-26 16:33:31 +00:00
|
|
|
version: '{build}'
|
|
|
|
shallow_clone: true
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- PYTHON: "C:\\Python27"
|
2015-12-03 11:56:41 +00:00
|
|
|
PATH: "C:\\Python27;C:\\Python27\\Scripts;%PATH%"
|
|
|
|
PYINSTALLER_VERSION: "git+https://github.com/pyinstaller/pyinstaller.git"
|
2015-06-26 16:33:31 +00:00
|
|
|
install:
|
2015-12-03 11:56:41 +00:00
|
|
|
- "pip install --src .. -r requirements.txt"
|
|
|
|
- "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
|
2015-06-26 16:33:31 +00:00
|
|
|
build: off # Not a C# project
|
|
|
|
test_script:
|
2015-12-03 11:56:41 +00:00
|
|
|
- "py.test -n 4"
|
|
|
|
after_test:
|
|
|
|
- |
|
|
|
|
git clone https://github.com/mitmproxy/release.git ..\release
|
|
|
|
pip install -e ..\release
|
2015-12-03 17:42:02 +00:00
|
|
|
python ..\release\rtool.py -p netlib -p mitmproxy bdist
|
2015-12-03 12:16:36 +00:00
|
|
|
- ps: Get-ChildItem ..\release\dist\*.zip | ForEach { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
deploy:
|
|
|
|
- provider: FTP
|
|
|
|
host: 46.101.230.67:2222
|
|
|
|
protocol: sftp
|
|
|
|
username: travis
|
|
|
|
password:
|
|
|
|
secure: +Ousom/XDCLx9+bUjr1mRKepgIzLdqP+clMpoAiPXUysZCDGxODD/7ij4z8GJ3AF
|
|
|
|
folder: snapshots
|
|
|
|
on:
|
|
|
|
branch: master
|