mitmproxy/.appveyor.yml

39 lines
862 B
YAML
Raw Normal View History

2015-06-26 16:33:31 +00:00
version: '{build}'
2016-01-27 09:57:07 +00:00
build: off # Not a C# project
2016-06-25 09:27:58 +00:00
branches:
except:
- requires-io-master
2015-06-26 16:33:31 +00:00
environment:
2016-06-29 06:55:29 +00:00
CI_DEPS: codecov>=2.0.5
CI_COMMANDS: codecov
2015-06-26 16:33:31 +00:00
matrix:
- PYTHON: "C:\\Python36"
TOXENV: "py36"
2018-05-18 08:37:56 +00:00
PYINSTALLER: "1"
2018-06-02 19:37:44 +00:00
WININSTALLER: "1"
2018-06-28 08:18:28 +00:00
- PYTHON: "C:\\Python37"
TOXENV: "py37"
2016-06-25 09:27:58 +00:00
2015-06-26 16:33:31 +00:00
install:
2016-06-25 09:27:58 +00:00
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python -m pip install --disable-pip-version-check -U pip"
- "pip install -U tox"
2015-06-26 16:33:31 +00:00
test_script:
- ps: |
2018-06-02 19:37:44 +00:00
if ($env:APPVEYOR_REPO_COMMIT_MESSAGE.Contains("[notest]")) {
echo "!!!! Skipping tests."
} else {
tox -- --verbose --cov-report=term
2016-12-11 22:07:47 +00:00
}
2018-06-02 19:37:44 +00:00
- ps: tox -e cibuild -- build
2016-12-11 22:07:47 +00:00
2016-02-12 20:42:02 +00:00
deploy_script:
ps: tox -e cibuild -- upload
2016-06-25 09:27:58 +00:00
cache:
2018-06-02 19:37:44 +00:00
- C:\projects\mitmproxy\release\installbuilder\setup -> .appveyor.yml
2016-06-25 09:27:58 +00:00
- C:\Users\appveyor\AppData\Local\pip\cache