]>
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 | ||
31cafa6f | 12 | install: |
7cb2b873 H |
13 | # Coveralls 4.0 doesn't support Python 3.2 |
14 | - if [ "$TRAVIS_PYTHON_VERSION" == "3.2" ]; then pip install coverage==3.7.1; fi | |
15 | - if [ "$TRAVIS_PYTHON_VERSION" != "3.2" ]; then pip install coverage; fi | |
7b8c3a26 | 16 | |
31cafa6f | 17 | script: nosetests --with-coverage --cover-package=twitter |
7b8c3a26 | 18 | |
fcf08b18 | 19 | after_success: |
31cafa6f | 20 | - coveralls |
fcf08b18 | 21 | - pip install pep8 pyflakes |
22 | - pep8 twitter/*.py | |
23 | - pyflakes twitter/*.py | |
24 | - pep8 tests/*.py | |
25 | - pyflakes tests/*.py | |
26 | ||
7b8c3a26 | 27 | matrix: |
28 | allow_failures: | |
7b8c3a26 | 29 | - python: "pypy" |