mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 23:27:49 +01:00
9264264a02
See travis-ci/travis-ci#6727 for more info too
37 lines
No EOL
728 B
YAML
37 lines
No EOL
728 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
|
|
before_cache:
|
|
- rm -f $HOME/.cache/pip/log/debug.log
|
|
|
|
install:
|
|
- pip install coveralls
|
|
- pip install -U wheel
|
|
- pip install -r requirements.txt
|
|
- pip install -r requirements-dev.txt
|
|
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then pip install ujson; fi
|
|
|
|
script:
|
|
- nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/ tests
|
|
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pre-commit run --all-files; fi
|
|
- python ./setup.py bdist_dumb
|
|
|
|
after_success:
|
|
coveralls |