forked from PyCQA/autoflake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (28 loc) · 775 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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