]> jfr.im git - z_archive/twitter.git/commitdiff
Coverage 4.0 doesn't support Python 3.2
authorHugo <redacted>
Mon, 23 Nov 2015 20:08:23 +0000 (22:08 +0200)
committerHugo <redacted>
Mon, 23 Nov 2015 20:08:23 +0000 (22:08 +0200)
So use the last one that worked for 3.2.

Fixes #310.

.travis.yml

index 7805c6ae83a2f5d8c85700609f40fbde5b511af5..cc2b2c6433e59079670052305bccbdec33f40f14 100644 (file)
@@ -10,7 +10,9 @@ python:
 - "pypy"
 
 install:
-  - pip install coveralls
+ # Coveralls 4.0 doesn't support Python 3.2
+  - if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install coverage==3.7.1; fi
+  - if [ "$TRAVIS_PYTHON_VERSION" != "3.2" ]; then pip install coverage; fi
 
 script: nosetests --with-coverage --cover-package=twitter