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
|
|
|
|
2017-05-19 03:58:19 +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:
|
2018-03-07 01:05:26 +00:00
|
|
|
- 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"
|
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:
|
2016-11-27 23:51:52 +00:00
|
|
|
- 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:
|
2018-03-07 01:05:26 +00:00
|
|
|
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
|