Skip to content

Commit

Permalink
Avoid installing and running pyflakes on travis for python2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bwhmather committed Aug 11, 2018
1 parent 25ed7e9 commit 0b669fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ python:
install:
- "pip install -e .[test]"
- "pip install coveralls"
- "pip install pyflakes"
- "pip install pycodestyle"
- "if [ \"${TRAVIS_PYTHON_VERSION}\" != '2.6' ]; then pip install pyflakes; fi"
- "if [ \"${TRAVIS_PYTHON_VERSION}\" != '2.6' ]; then pip install pylint; fi"
- "if [ \"${TRAVIS_PYTHON_VERSION}\" == '3.6' ]; then pip install sphinx; fi"

script:
- "coverage run --source=validation setup.py test"
- "pycodestyle validation setup.py"
- "pyflakes validation setup.py"
- "if [ \"${TRAVIS_PYTHON_VERSION}\" != '2.6' ]; then pyflakes validation setup.py; fi"
- "if [ \"${TRAVIS_PYTHON_VERSION}\" != '2.6' ]; then pylint -E validation setup.py; fi"

after_success:
Expand Down

0 comments on commit 0b669fd

Please sign in to comment.