]>
Commit | Line | Data |
---|---|---|
7b8c3a26 | 1 | language: python |
2 | ||
3 | python: | |
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 |
13 | sudo: false | |
14 | ||
31cafa6f | 15 | install: |
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 | 20 | script: nosetests --with-coverage --cover-package=twitter |
7b8c3a26 | 21 | |
fcf08b18 | 22 | after_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 | 30 | matrix: |
31 | allow_failures: | |
7b8c3a26 | 32 | - python: "pypy" |