mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 23:27:49 +01:00
Adding unittest2, update travis to use requirements-dev.txt
This commit is contained in:
parent
7e207433cc
commit
a8240dca1f
2 changed files with 3 additions and 1 deletions
|
@ -7,8 +7,9 @@ python:
|
||||||
- "pypy"
|
- "pypy"
|
||||||
- "pypy3"
|
- "pypy3"
|
||||||
install:
|
install:
|
||||||
- pip install pylint flake8 coveralls
|
- pip install coveralls
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
- pip install -r requirements-dev.txt
|
||||||
- 'if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi'
|
- 'if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi'
|
||||||
script:
|
script:
|
||||||
- nosetests --with-coverage --cover-package telegram/
|
- nosetests --with-coverage --cover-package telegram/
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
flake8
|
flake8
|
||||||
nose
|
nose
|
||||||
pylint
|
pylint
|
||||||
|
unittest2
|
Loading…
Reference in a new issue