mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-23 07:38:58 +01:00
d9ae4be2b3
* Add 3.7 to travis build matrix using workaround See https://github.com/travis-ci/travis-ci/issues/9815 for workaround discussion * Add 3.7 to pypi classifiers * Format build matrix differently * Try adding pypy6.0.0 to travis build matrix * Add py3.7 to appveyor * Try pypy 5.10.1 instead 6.0.0 isn't on travis yet: https://github.com/travis-ci/travis-ci/issues/9542 * pypy2-5.10.0 isn't on travis yet either... * allow failures on travis pypy
40 lines
1,008 B
YAML
40 lines
1,008 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:\\Python34"
|
|
- PYTHON: "C:\\Python35"
|
|
- PYTHON: "C:\\Python36"
|
|
- PYTHON: "C:\\Python37"
|
|
|
|
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
|
|
- "pip install -U codecov pytest-cov"
|
|
- "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"
|