Skip to content

Commit beb8606

Browse files
committed
Do not run flake8 on travis for python2.6.
flake8 doesn't support python2.6 anymore.
1 parent 12cb763 commit beb8606

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
sudo: false
12
language: python
23
python:
34
- 2.6
@@ -11,16 +12,19 @@ env:
1112
- PYZMQ='pyzmq>=13,<14'
1213
matrix:
1314
fast_finish: true
14-
script:
15-
- flake8 --ignore=E501,E128 zerorpc bin
16-
- nosetests -v
17-
sudo: false
1815
addons:
1916
apt:
2017
packages:
2118
- python-dev
2219
- libevent-dev
2320
install:
24-
- pip install flake8
21+
- if [ $TRAVIS_PYTHON_VERSION != '2.6' ]; then
22+
pip install flake8;
23+
fi
2524
- "pip install nose $PYZMQ"
2625
- pip install .
26+
script:
27+
- if [ $TRAVIS_PYTHON_VERSION != '2.6' ]; then
28+
flake8 --ignore=E501,E128 zerorpc bin;
29+
fi
30+
- nosetests -v

0 commit comments

Comments
 (0)