Adding unittest2, update travis to use requirements-dev.txt

This commit is contained in:
leandrotoledo 2016-01-06 12:12:01 -02:00
parent 7e207433cc
commit a8240dca1f
2 changed files with 3 additions and 1 deletions

View file

@ -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/

View file

@ -1,3 +1,4 @@
flake8 flake8
nose nose
pylint pylint
unittest2