mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-14 15:53:28 +01:00
* post append improvements: - parse json primitives for post query - for text/plain, attempt to parse as json, then as binary - standardize post append indexing - include '__wb_method' in urlkey - add 'requestBody' and 'method' to cdxj - support unique dupe params for json-to-query conversion * test fixes: - update tests for test_inputreq, - update post-test.cdxj and post-test.cdx * ci: fixes - tox: run full test suite! - disable appveyor * inputrequest buffering fix: - never truncate reading POST request, must read entire POST data to avoid hung request in live mode - truncate final query string to 4096
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
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)
|
|
|