]> jfr.im git - z_archive/twitter.git/blobdiff - .travis.yml
bandaid unicode/str.encode-related crash bug
[z_archive/twitter.git] / .travis.yml
index b36c0e4cb4da7d1d0cd571072743248403d0bce5..55bb83bbdfab6988bcfe363c6e69ab27f0525498 100644 (file)
@@ -6,12 +6,21 @@ python:
 - "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
@@ -20,6 +29,4 @@ after_success:
 
 matrix:
   allow_failures:
-    - python: "3.2"
-    - python: "3.4"
     - python: "pypy"