2017-08-05 17:12:16 -07:00
|
|
|
environment:
|
|
|
|
global:
|
|
|
|
CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd"
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
- PYTHON: "C:\\Python35"
|
|
|
|
- PYTHON: "C:\\Python35-x64"
|
|
|
|
- PYTHON: "C:\\Python36"
|
|
|
|
- PYTHON: "C:\\Python36-x64"
|
2019-02-27 08:43:33 -08:00
|
|
|
- PYTHON: "C:\\Python37"
|
|
|
|
- PYTHON: "C:\\Python37-x64"
|
2020-06-08 15:03:06 -07:00
|
|
|
- PYTHON: "C:\\Python38"
|
|
|
|
- PYTHON: "C:\\Python38-x64"
|
|
|
|
|
2019-02-27 08:43:33 -08:00
|
|
|
|
2017-08-05 17:12:16 -07:00
|
|
|
|
|
|
|
install:
|
|
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
2018-04-20 08:51:48 -07:00
|
|
|
- "python -m pip install --upgrade pip"
|
2017-08-05 17:12:16 -07:00
|
|
|
- "pip install -U setuptools"
|
2020-06-08 15:03:06 -07:00
|
|
|
- "pip install MarkupSafe==1.1.1"
|
2018-01-29 18:05:18 -08:00
|
|
|
- "pip install coverage pytest-cov"
|
2017-08-05 17:12:16 -07:00
|
|
|
- "pip install cffi"
|
|
|
|
- "pip install pyopenssl"
|
2018-03-29 13:42:00 -07:00
|
|
|
- "pip install pypiwin32"
|
2018-01-17 10:51:49 -08:00
|
|
|
- "pip install certauth boto3 youtube-dl pysocks"
|
2018-01-17 09:59:51 -08:00
|
|
|
- "pip install codecov"
|
2020-01-11 10:44:49 -08:00
|
|
|
- "pip install wheel"
|
2017-08-05 17:12:16 -07:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- "python setup.py install"
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- "python setup.py test"
|
|
|
|
|
2018-01-17 09:59:51 -08:00
|
|
|
after_test:
|
|
|
|
- rm -rf tests/coverages
|
|
|
|
- if not exist dist mkdir dist
|
|
|
|
- if exist .coverage (cp .coverage dist\) else (echo no .coverage)
|
|
|
|
- codecov
|
|
|
|
- if exist coverage.xml (cp coverage.xml dist\) else (echo no coverage.xml)
|
2017-08-05 17:12:16 -07:00
|
|
|
|