Commit fcb46637 authored by rusty1s's avatar rusty1s
Browse files

only lint on py > 2

parent 6ea55be6
...@@ -3,6 +3,7 @@ sudo: required ...@@ -3,6 +3,7 @@ sudo: required
dist: trusty dist: trusty
matrix: matrix:
include: include:
- python: 2.7
- python: 3.5 - python: 3.5
- python: 3.6 - python: 3.6
addons: addons:
...@@ -22,8 +23,8 @@ install: ...@@ -22,8 +23,8 @@ install:
- pip install flake8 - pip install flake8
- pip install codecov - pip install codecov
script: script:
- pycodestyle . - if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then pycodestyle .; fi
- flake8 . - if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then flake8 .; fi
- python setup.py install - python setup.py install
- python setup.py test - python setup.py test
after_success: after_success:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment