python-telegram-bot/.travis.yml

21 lines
613 B
YAML
Raw Normal View History

2015-07-07 21:50:36 +02:00
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
2015-08-28 18:09:47 +02:00
- "pypy"
- "pypy3"
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
2015-08-11 19:40:20 +02:00
script:
- nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/
- 'if [ $TRAVIS_PYTHON_VERSION != 2.6 ] && [ $TRAVIS_PYTHON_VERSION != 3.3 ] && [ $TRAVIS_PYTHON_VERSION != pypy3 ]; then yapf -r telegram; fi'
2015-11-11 15:28:34 +01:00
- flake8 telegram
- 'if [ $TRAVIS_PYTHON_VERSION != 2.6 ]; then pylint -E telegram --disable=no-name-in-module,import-error; fi'
after_success:
2015-11-11 15:07:43 +01:00
coveralls