mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 23:27:49 +01:00
d0c27e2d46
Fixes #1542
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
environment:
|
|
|
|
matrix:
|
|
# For Python versions available on Appveyor, see
|
|
# https://www.appveyor.com/docs/windows-images-software/#python
|
|
# The list here is complete (excluding Python 2.6, which
|
|
# isn't covered by this document) at the time of writing.
|
|
|
|
- PYTHON: "C:\\Python27"
|
|
- PYTHON: "C:\\Python35"
|
|
- PYTHON: "C:\\Python36"
|
|
- PYTHON: "C:\\Python37"
|
|
# - PYTHON: "C:\\Python38"
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^[vV]\d+$/
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
max_jobs: 1
|
|
|
|
install:
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
- "git submodule update --init --recursive"
|
|
# Check that we have the expected version and architecture for Python
|
|
- "python --version"
|
|
# We need wheel installed to build wheels
|
|
# fix TypeError from an old version of this
|
|
- "pip install attrs==17.4.0"
|
|
- "pip install -U codecov pytest-cov"
|
|
- "pip install -r requirements.txt"
|
|
- "pip install -r requirements-dev.txt"
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- "pytest --version"
|
|
- "pytest -m \"not nocoverage\" --cov --cov-report xml:coverage.xml"
|
|
|
|
after_test:
|
|
- "codecov -f coverage.xml -F Appveyor"
|