mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-26 09:07:43 +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
39 lines
No EOL
703 B
YAML
39 lines
No EOL
703 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.3"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
- "pypy-5.7.1"
|
|
- "pypy3.5-5.8.0"
|
|
|
|
dist: trusty
|
|
sudo: false
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
- $HOME/.pre-commit
|
|
before_cache:
|
|
- rm -f $HOME/.cache/pip/log/debug.log
|
|
- rm -f $HOME/.pre-commit/pre-commit.log
|
|
|
|
install:
|
|
- pip install -U codecov pytest-cov
|
|
- pip install -U wheel
|
|
- pip install -U -r requirements.txt
|
|
- pip install -U -r requirements-dev.txt
|
|
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then pip install ujson; fi
|
|
|
|
script:
|
|
- pytest -v -m nocoverage
|
|
- pytest -v -m "not nocoverage" --cov
|
|
|
|
after_success:
|
|
- coverage combine
|
|
- codecov -F Travis |