2015-06-26 16:33:31 +00:00
|
|
|
version: '{build}'
|
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%"
|
2016-02-12 20:42:02 +00:00
|
|
|
SNAPSHOT_HOST:
|
|
|
|
secure: NeTo57s2rJhCd/mjKHetXVxCFd3uhr8txnjnAXD1tUI=
|
|
|
|
SNAPSHOT_PORT:
|
|
|
|
secure: TiJPtg60/edYTH8RnoBErg==
|
|
|
|
SNAPSHOT_USER:
|
|
|
|
secure: 6yBwmO5gv4vAwoFYII8qjQ==
|
|
|
|
SNAPSHOT_PASS:
|
|
|
|
secure: LPjrtFrWxYhOVGXzfPRV1GjtZE/wHoKq9m/PI6hSalfysUK5p2DxTG9uHlb4Q9qV
|
2015-06-26 16:33:31 +00:00
|
|
|
install:
|
2016-01-27 09:57:07 +00:00
|
|
|
- "pip install --user -U pip setuptools"
|
2016-02-15 17:12:12 +00:00
|
|
|
- "pip install --user -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-15 17:12:12 +00:00
|
|
|
- "py.test -s --cov libmproxy --cov netlib --cov libpathod --timeout 30 ./test/"
|
2016-01-27 09:57:07 +00:00
|
|
|
cache:
|
|
|
|
- C:\Users\appveyor\AppData\Local\pip\cache
|
2016-02-12 20:42:02 +00:00
|
|
|
deploy_script:
|
|
|
|
ps: |
|
|
|
|
if($Env:APPVEYOR_REPO_BRANCH -match "master") {
|
2016-02-15 17:12:12 +00:00
|
|
|
python .\release\rtool.py bdist
|
|
|
|
python .\release\rtool.py upload-snapshot --bdist
|
2016-02-12 20:42:02 +00:00
|
|
|
}
|
2016-02-02 20:48:48 +00:00
|
|
|
notifications:
|
|
|
|
- provider: Slack
|
|
|
|
incoming_webhook: https://hooks.slack.com/services/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
|