Skip to content

Commit e4206de

Browse files
committed
only lint on py > 2
1 parent 32f4127 commit e4206de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ install:
2323
- pip install flake8
2424
- pip install codecov
2525
script:
26-
- pycodestyle .
27-
- flake8 .
26+
- if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then pycodestyle .; fi
27+
- if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then flake8 .; fi
2828
- python setup.py install
2929
- python setup.py test
3030
- cd docs && pip install -r requirements.txt && make clean && make html && make doctest && cd ..

0 commit comments

Comments
 (0)