mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-23 06:50:29 +01:00
dd20237f55
* modify tests and appveyor.yml * modify test_meta * Add pytest-cov to requirements * appveyor.yaml adjustment * another try * oops * skipping jobqueue tests on appveyor appveyor is terrible at precise timings. * adding reasons to skips * modify test_official * coverage trouble * Make it look good * appveyor.yml * codecov flags * oops * update appveyor.yml * shorten decorators * removed redundant quotes
40 lines
1,019 B
YAML
40 lines
1,019 B
YAML
environment:
|
|
|
|
matrix:
|
|
# For Python versions available on Appveyor, see
|
|
# http://www.appveyor.com/docs/installed-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:\\Python33"
|
|
- PYTHON: "C:\\Python34"
|
|
- PYTHON: "C:\\Python35"
|
|
- PYTHON: "C:\\Python36"
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
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
|
|
- "pip install -U codecov pytest-cov"
|
|
- "pip install -U wheel"
|
|
- "pip install -r requirements.txt"
|
|
- "pip install -r requirements-dev.txt"
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- "pytest -m \"not nocoverage\" --cov --cov-report xml:coverage.xml"
|
|
|
|
after_test:
|
|
- "codecov -f coverage.xml -F Appveyor"
|