mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-15 03:58:35 +01:00
Only build master branch and PRs on travis. Yapf only on py3.5.
This commit is contained in:
parent
53a574bbbb
commit
de96cc87ea
1 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,9 @@ python:
|
|||
- "3.5"
|
||||
- "pypy"
|
||||
- "pypy3"
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
install:
|
||||
- pip install coveralls
|
||||
- pip install -r requirements.txt
|
||||
|
@ -13,6 +16,6 @@ install:
|
|||
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then pip install ujson; fi
|
||||
script:
|
||||
- nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/
|
||||
- if [ $TRAVIS_PYTHON_VERSION != 3.3 ] && [ $TRAVIS_PYTHON_VERSION != pypy3 ]; then pre-commit run --all-files; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pre-commit run --all-files; fi
|
||||
after_success:
|
||||
coveralls
|
||||
|
|
Loading…
Add table
Reference in a new issue