]> jfr.im git - z_archive/twitter.git/blob - .travis.yml
bandaid unicode/str.encode-related crash bug
[z_archive/twitter.git] / .travis.yml
1 language: python
2
3 python:
4 - "2.6"
5 - "2.7"
6 - "3.2"
7 - "3.3"
8 - "3.4"
9 - "3.5"
10 - "pypy"
11
12 # Use container-based infrastructure
13 sudo: false
14
15 install:
16 # Coveralls 4.0 doesn't support Python 3.2
17 - if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install coverage==3.7.1; fi
18 - if [ "$TRAVIS_PYTHON_VERSION" != "3.2" ]; then pip install coverage; fi
19
20 script: nosetests --with-coverage --cover-package=twitter
21
22 after_success:
23 - coveralls
24 - pip install pep8 pyflakes
25 - pep8 twitter/*.py
26 - pyflakes twitter/*.py
27 - pep8 tests/*.py
28 - pyflakes tests/*.py
29
30 matrix:
31 allow_failures:
32 - python: "pypy"