isso/.travis.yml
Jelmer Vernooij 280b0d925a
Skip compat module when running flakes checks.
Python2-specific code fails on Python3 flakes and vice versa.
2017-07-29 13:09:48 +00:00

32 lines
716 B
YAML

language: python
matrix:
allow_failures:
- env: TOX_ENV=squeeze
include:
- python: 2.6
env: TOX_ENV=py26
- python: 2.7
env: TOX_ENV=py27
- python: 3.3
env: TOX_ENV=py33
- python: 3.4
env: TOX_ENV=py34
- python: 2.6
env: TOX_ENV=squeeze
- python: 2.7
env: TOX_ENV=wheezy
install:
- pip install -U pip
- pip install tox
- pip install pyflakes
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script:
- tox -e $TOX_ENV
- python -m pyflakes.__main__ $(git ls-files | grep -E "^isso/.+.py$" | grep -v "^isso/compat.py")
notifications:
irc:
channels:
- "chat.freenode.net#isso"
on_success: change
on_failure: always