1 parent 53a574b commit de96cc8Copy full SHA for de96cc8
1 file changed
.travis.yml
@@ -6,13 +6,16 @@ python:
6
- "3.5"
7
- "pypy"
8
- "pypy3"
9
+branches:
10
+ only:
11
+ - master
12
install:
13
- pip install coveralls
14
- pip install -r requirements.txt
15
- pip install -r requirements-dev.txt
16
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then pip install ujson; fi
17
script:
18
- 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
19
+ - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pre-commit run --all-files; fi
20
after_success:
21
coveralls
0 commit comments