Skip to content

Commit

Permalink
more weird pep8 travis hacking
Browse files Browse the repository at this point in the history
  • Loading branch information
andy committed Apr 27, 2013
1 parent f6f9252 commit bcd8552
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ python:
- "2.7"
- "2.6"
- "2.5"
env:
- PEP8=0
- PEP8=1
install:
- pip install pep8 --use-mirrors
- pip install -e . --use-mirrors
before_script:
- "pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,build,*.egg ."
script: python setup.py test
script: "if [[ $PEP8 == '1' ]]; then pip install pep8 --use-mirrors; pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,build,*.egg . else python setup.py test fi"

0 comments on commit bcd8552

Please sign in to comment.