2013-11-18 11:41:45 +00:00
|
|
|
language: python
|
2014-01-30 20:51:16 +00:00
|
|
|
matrix:
|
2017-07-15 12:34:05 +00:00
|
|
|
include:
|
|
|
|
- python: 2.7
|
|
|
|
env: TOX_ENV=py27
|
|
|
|
- python: 3.4
|
|
|
|
env: TOX_ENV=py34
|
2017-07-15 14:04:16 +00:00
|
|
|
- python: 3.5
|
|
|
|
env: TOX_ENV=py35
|
|
|
|
- python: 3.6
|
|
|
|
env: TOX_ENV=py36
|
2017-07-15 12:34:05 +00:00
|
|
|
- python: 2.7
|
|
|
|
env: TOX_ENV=wheezy
|
2013-11-18 11:41:45 +00:00
|
|
|
install:
|
2016-02-06 19:40:15 +00:00
|
|
|
- pip install -U pip
|
2018-01-31 22:32:13 +00:00
|
|
|
- pip install flake8 tox
|
2013-11-25 16:16:58 +00:00
|
|
|
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
|
2013-11-18 11:41:45 +00:00
|
|
|
script:
|
|
|
|
- tox -e $TOX_ENV
|
2018-01-31 22:32:13 +00:00
|
|
|
- IGNORE=E226,E241,E265,E402,E501,E704
|
|
|
|
- flake8 . --count --ignore=${IGNORE} --max-line-length=127 --show-source --statistics
|
2014-04-30 13:39:50 +00:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#isso"
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|