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" - PYTHON: "C:\\Python37" - PYTHON: "C:\\Python37-x64" - PYTHON: "C:\\Python38" - PYTHON: "C:\\Python38-x64" install: - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - "python -m pip install --upgrade pip" - "pip install -U setuptools" - "pip install MarkupSafe==1.1.1" - "pip install coverage pytest-cov" - "pip install cffi" - "pip install pyopenssl" - "pip install pypiwin32" - "pip install certauth boto3 youtube-dl pysocks" - "pip install codecov" - "pip install wheel" build_script: - "python setup.py install" test_script: - "python setup.py test" 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)