29 lines
813 B
YAML
29 lines
813 B
YAML
|
|
skip_tags: true
|
||
|
|
|
||
|
|
os: Visual Studio 2015
|
||
|
|
|
||
|
|
environment:
|
||
|
|
matrix:
|
||
|
|
- PYTHON: "C:\\Python36"
|
||
|
|
- PYTHON: "C:\\Python36-x64"
|
||
|
|
- PYTHON: "C:\\Python37"
|
||
|
|
- PYTHON: "C:\\Python37-x64"
|
||
|
|
|
||
|
|
build_script:
|
||
|
|
- "git --no-pager log -n2"
|
||
|
|
- "echo %APPVEYOR_REPO_COMMIT%"
|
||
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;;%PATH%"
|
||
|
|
- "python --version"
|
||
|
|
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
|
||
|
|
- "pip install ."
|
||
|
|
- "pip install -Ur test-requirements.txt"
|
||
|
|
- "pip install codecov"
|
||
|
|
|
||
|
|
test_script:
|
||
|
|
- "mkdir empty"
|
||
|
|
- "cd empty"
|
||
|
|
# Make sure it's being imported from where we expect
|
||
|
|
- "python -c \"import os, trio_ftplib; print(os.path.dirname(trio_ftplib.__file__))\""
|
||
|
|
- "python -u -m pytest -W error -ra -v -s --pyargs trio_ftplib --cov=trio_ftplib --cov-config=../.coveragerc"
|
||
|
|
- "codecov"
|