]> jfr.im git - z_archive/twitter.git/blobdiff - .travis.yml
bandaid unicode/str.encode-related crash bug
[z_archive/twitter.git] / .travis.yml
index f81983b6dfca606e2a1e0113e8199310e7f097f0..55bb83bbdfab6988bcfe363c6e69ab27f0525498 100644 (file)
@@ -3,14 +3,24 @@ language: python
 python:
 - "2.6"
 - "2.7"
+- "3.2"
 - "3.3"
 - "3.4"
+- "3.5"
 - "pypy"
 
+# Use container-based infrastructure
+sudo: false
 
-script: nosetests
+install:
+ # 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
 
 after_success:
+  - coveralls
   - pip install pep8 pyflakes
   - pep8 twitter/*.py
   - pyflakes twitter/*.py
@@ -19,7 +29,4 @@ after_success:
 
 matrix:
   allow_failures:
-    - python: "2.6"
-    - python: "3.3"
-    - python: "3.4"
     - python: "pypy"