mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 09:37:37 +00:00
39 lines
862 B
YAML
39 lines
862 B
YAML
version: '{build}'
|
|
build: off # Not a C# project
|
|
|
|
branches:
|
|
except:
|
|
- requires-io-master
|
|
|
|
environment:
|
|
CI_DEPS: codecov>=2.0.5
|
|
CI_COMMANDS: codecov
|
|
matrix:
|
|
- PYTHON: "C:\\Python36"
|
|
TOXENV: "py36"
|
|
PYINSTALLER: "1"
|
|
WININSTALLER: "1"
|
|
- PYTHON: "C:\\Python37"
|
|
TOXENV: "py37"
|
|
|
|
install:
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
- "python -m pip install --disable-pip-version-check -U pip"
|
|
- "pip install -U tox"
|
|
|
|
test_script:
|
|
- ps: |
|
|
if ($env:APPVEYOR_REPO_COMMIT_MESSAGE.Contains("[notest]")) {
|
|
echo "!!!! Skipping tests."
|
|
} else {
|
|
tox -- --verbose --cov-report=term
|
|
}
|
|
- ps: tox -e cibuild -- build
|
|
|
|
deploy_script:
|
|
ps: tox -e cibuild -- upload
|
|
|
|
cache:
|
|
- C:\projects\mitmproxy\release\installbuilder\setup -> .appveyor.yml
|
|
- C:\Users\appveyor\AppData\Local\pip\cache
|