mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
version: '{build}'
|
|
build: off # Not a C# project
|
|
|
|
environment:
|
|
matrix:
|
|
- PYTHON: "C:\\Python27"
|
|
TOXENV: "py27"
|
|
- PYTHON: "C:\\Python35"
|
|
TOXENV: "py35"
|
|
|
|
SNAPSHOT_HOST:
|
|
secure: NeTo57s2rJhCd/mjKHetXVxCFd3uhr8txnjnAXD1tUI=
|
|
SNAPSHOT_PORT:
|
|
secure: TiJPtg60/edYTH8RnoBErg==
|
|
SNAPSHOT_USER:
|
|
secure: 6yBwmO5gv4vAwoFYII8qjQ==
|
|
SNAPSHOT_PASS:
|
|
secure: LPjrtFrWxYhOVGXzfPRV1GjtZE/wHoKq9m/PI6hSalfysUK5p2DxTG9uHlb4Q9qV
|
|
|
|
install:
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
- "python -m pip install --disable-pip-version-check -U pip"
|
|
- "pip install -U tox"
|
|
|
|
test_script:
|
|
- ps: "tox | Select-String -NotMatch Cryptography_locking_cb"
|
|
|
|
deploy_script:
|
|
ps: |
|
|
if(
|
|
($Env:TOXENV -match "py27") -and
|
|
(($Env:APPVEYOR_REPO_BRANCH -match "simplify-tox") -or ($Env:APPVEYOR_REPO_TAG -match "true"))
|
|
) {
|
|
pip install -U virtualenv
|
|
.\dev.ps1
|
|
cmd /c "python .\release\rtool.py bdist 2>&1"
|
|
python .\release\rtool.py upload-snapshot --bdist
|
|
}
|
|
|
|
cache:
|
|
- C:\Users\appveyor\AppData\Local\pip\cache
|
|
- C:\projects\mitmproxy\.tox
|
|
|
|
notifications:
|
|
- provider: Slack
|
|
incoming_webhook: https://hooks.slack.com/services/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
|