]> jfr.im git - z_archive/twitter.git/blame - .travis.yml
bandaid unicode/str.encode-related crash bug
[z_archive/twitter.git] / .travis.yml
CommitLineData
7b8c3a26 1language: python
2
3python:
4- "2.6"
5- "2.7"
b3e26d7f 6- "3.2"
7b8c3a26 7- "3.3"
8- "3.4"
cb8fba24 9- "3.5"
7b8c3a26 10- "pypy"
11
20edbfa9 12# Use container-based infrastructure
13sudo: false
14
31cafa6f 15install:
7cb2b873
H
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
7b8c3a26 19
31cafa6f 20script: nosetests --with-coverage --cover-package=twitter
7b8c3a26 21
fcf08b18 22after_success:
31cafa6f 23 - coveralls
fcf08b18 24 - pip install pep8 pyflakes
25 - pep8 twitter/*.py
26 - pyflakes twitter/*.py
27 - pep8 tests/*.py
28 - pyflakes tests/*.py
29
7b8c3a26 30matrix:
31 allow_failures:
7b8c3a26 32 - python: "pypy"