2015-07-07 21:50:36 +02:00
|
|
|
language: python
|
|
|
|
python:
|
2015-07-15 15:05:31 +02:00
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
- "3.3"
|
|
|
|
- "3.4"
|
2015-08-28 18:09:47 +02:00
|
|
|
- "pypy"
|
|
|
|
- "pypy3"
|
2015-08-11 19:40:20 +02:00
|
|
|
install:
|
2015-11-11 15:27:07 +01:00
|
|
|
- pip install pylint flake8 coveralls
|
2015-11-10 15:04:21 +01:00
|
|
|
- pip install -r requirements.txt
|
2015-12-31 20:33:37 +01:00
|
|
|
- 'if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi'
|
2015-08-11 19:40:20 +02:00
|
|
|
script:
|
2015-11-11 15:28:34 +01:00
|
|
|
- nosetests --with-coverage --cover-package telegram/
|
|
|
|
- flake8 telegram
|
2015-12-11 18:52:23 +01:00
|
|
|
- 'if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then pylint -E telegram --disable=no-name-in-module,import-error; fi'
|
2015-08-11 19:13:02 +02:00
|
|
|
after_success:
|
2015-11-11 15:07:43 +01:00
|
|
|
coveralls
|