python-telegram-bot/.travis.yml

23 lines
526 B
YAML
Raw Normal View History

2015-07-07 21:50:36 +02:00
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
2017-02-05 20:40:16 +01:00
- "3.6"
2015-08-28 18:09:47 +02:00
- "pypy"
- "pypy3"
branches:
only:
- master
2015-08-11 19:40:20 +02:00
install:
- pip install coveralls
2015-11-10 15:04:21 +01:00
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then pip install ujson; fi
2015-08-11 19:40:20 +02:00
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
after_success:
2015-11-11 15:07:43 +01:00
coveralls