blob: 66ed93d26490eaa3163d4d31a543eb02fde6e41b [file] [log] [blame]
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
env:
- PYFLAKES_VERSION=pypi
- PYFLAKES_VERSION=github
install:
- if [ "$PYFLAKES_VERSION" == "github" ];
then pip install git+https://github.com/pyflakes/pyflakes; fi
- pip install .
script:
- ./setup.py test
- ./test_fuzz.py ./*.py
- pyflakes ./*.py
- pip install pycodestyle pydocstyle
- pycodestyle ./*.py
- pydocstyle autoflake.py setup.py
after_success:
- pip install --quiet coverage
- AUTOFLAKE_COVERAGE=1 coverage run --branch --parallel-mode --include='autoflake.py,test_autoflake.py' test_autoflake.py
- coverage combine
- coverage report --show-missing
- pip install --quiet coveralls
- coveralls