1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-16 00:24:48 +01:00
pywb/appveyor.yml
Ilya Kreymer 259f571cb9
Python 3.7 Support (#447)
* py3.7 fixes:
- add __repr__ to WBException for consistent output in py3.7
- don't raise StopIteration in generator, just return

* ci: add py3.7 builds to travis and appveyor, (don't include in integration test suite for now)
2019-02-27 08:43:33 -08:00

40 lines
1011 B
YAML

environment:
global:
CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd"
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python37-x64"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python -m pip install --upgrade pip"
- "pip install -U setuptools"
- "pip install coverage pytest-cov"
- "pip install cffi"
- "pip install pyopenssl"
- "pip install pypiwin32"
- "pip install certauth boto3 youtube-dl pysocks"
- "pip install codecov"
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)