File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ install:
1010 - pip install coveralls
1111 - pip install -r requirements.txt
1212 - pip install -r requirements-dev.txt
13+ - if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then pip install ujson; fi
1314script :
1415 - nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/
15- - ' if [ $TRAVIS_PYTHON_VERSION != 3.3 ] && [ $TRAVIS_PYTHON_VERSION != pypy3 ]; then pre-commit run --all-files; fi'
16+ - if [ $TRAVIS_PYTHON_VERSION != 3.3 ] && [ $TRAVIS_PYTHON_VERSION != pypy3 ]; then pre-commit run --all-files; fi
1617after_success :
1718 coveralls
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ def requirements():
3434 long_description = fd .read (),
3535 packages = find_packages (exclude = ['tests*' ]),
3636 install_requires = requirements (),
37+ extras_require = {
38+ 'json' : 'ujson' ,
39+ },
3740 include_package_data = True ,
3841 classifiers = [
3942 'Development Status :: 5 - Production/Stable' ,
You can’t perform that action at this time.
0 commit comments