mitmproxy/.appveyor.yml

36 lines
1.2 KiB
YAML
Raw Normal View History

2015-06-26 16:33:31 +00:00
version: '{build}'
shallow_clone: true
2016-01-27 09:57:07 +00:00
build: off # Not a C# project
2015-06-26 16:33:31 +00:00
environment:
matrix:
- PYTHON: "C:\\Python27"
2016-01-27 09:57:07 +00:00
PATH: "%APPDATA%\\Python\\Scripts;C:\\Python27;C:\\Python27\\Scripts;%PATH%"
2015-12-03 11:56:41 +00:00
PYINSTALLER_VERSION: "git+https://github.com/pyinstaller/pyinstaller.git"
2015-06-26 16:33:31 +00:00
install:
2016-01-27 09:57:07 +00:00
- "pip install --user -U pip setuptools"
- "pip install --user --src .. -r requirements.txt"
2015-12-03 11:56:41 +00:00
- "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
2015-06-26 16:33:31 +00:00
test_script:
2016-02-01 22:10:40 +00:00
- "py.test -s --cov libmproxy --timeout 30"
2016-01-27 09:57:07 +00:00
cache:
- C:\Users\appveyor\AppData\Local\pip\cache
2015-12-03 11:56:41 +00:00
after_test:
- |
git clone https://github.com/mitmproxy/release.git ..\release
pip install -e ..\release
python ..\release\rtool.py -p netlib -p mitmproxy bdist
- 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:
2016-02-02 20:48:48 +00:00
branch: master
notifications:
- provider: Slack
incoming_webhook: https://hooks.slack.com/services/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