language: python | |
python: | |
- "2.7" | |
- "3.2" | |
- "3.3" | |
env: | |
- PYFLAKES='' | |
- PYFLAKES='apt-get' | |
before_install: | |
- pip --quiet install coverage | |
- if [ "$PYFLAKES" == "apt-get" ]; then sudo apt-get install --quiet pyflakes; fi | |
- pip install --quiet coveralls | |
install: | |
- python setup.py --quiet install | |
script: | |
- python test_autoflake.py | |
- python test_acid.py test_acid.py | |
- coverage run --omit='*/site-packages/*,*/distutils/*' test_autoflake.py | |
- coverage report --show-missing | |
after_script: | |
- coveralls |