2015-07-07 21:50:36 +02:00
|
|
|
language: python
|
|
|
|
python:
|
2015-07-15 15:05:31 +02:00
|
|
|
- "2.7"
|
|
|
|
- "3.3"
|
|
|
|
- "3.4"
|
2016-03-17 22:12:36 +01:00
|
|
|
- "3.5"
|
2017-02-05 20:40:16 +01:00
|
|
|
- "3.6"
|
2015-08-28 18:09:47 +02:00
|
|
|
- "pypy"
|
|
|
|
- "pypy3"
|
2016-10-14 11:23:36 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2015-08-11 19:40:20 +02:00
|
|
|
install:
|
2016-01-06 15:12:01 +01:00
|
|
|
- pip install coveralls
|
2015-11-10 15:04:21 +01:00
|
|
|
- pip install -r requirements.txt
|
2016-01-06 15:12:01 +01:00
|
|
|
- pip install -r requirements-dev.txt
|
2016-08-26 10:23:17 +02:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then pip install ujson; fi
|
2015-08-11 19:40:20 +02:00
|
|
|
script:
|
2017-03-11 22:32:20 +01:00
|
|
|
- nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/ tests
|
2016-10-14 11:23:36 +02:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pre-commit run --all-files; fi
|
2017-05-26 18:30:22 +02:00
|
|
|
- python ./setup.py bdist_dumb
|
2015-08-11 19:13:02 +02:00
|
|
|
after_success:
|
2015-11-11 15:07:43 +01:00
|
|
|
coveralls
|