Compability with 2.6 unittests.. looks like a dogs poops

This commit is contained in:
maxkoryukov
2016-02-03 03:50:53 +05:00
parent 32e1854e13
commit 2852aadc71
2 changed files with 23 additions and 6 deletions
+7 -2
View File
@@ -13,6 +13,11 @@ cache:
python:
- "2.6"
- "2.7"
matrix:
include:
- python: "2.7"
env: SENDCOVERAGE=1
# pylint 1.4 does not run under python 2.6
install:
- pip install pyOpenSSL
@@ -25,8 +30,8 @@ install:
script:
- pep8 headphones
- pyflakes headphones
- nosetests headphones
- nosetests
after_success:
# coverage stuff:
coveralls
- if [ $SENDCOVERAGE ]; then coveralls; fi