Skip to content

Commit 887e95a

Browse files
authored
Merge pull request #349 from tony/flake8-ci
add flake8 to travis-ci
2 parents 8dd4e2e + 056675a commit 887e95a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ before_install:
2828
- export PIP_USE_MIRRORS=true
2929
- pip install --upgrade pytest # https://github.com/travis-ci/travis-ci/issues/4873
3030
- pip install --upgrade pip wheel virtualenv setuptools
31-
- pip install pytest-cov coverage codecov
31+
- pip install pytest-cov coverage codecov flake8
3232
install:
3333
- pip install -e .
3434
- pip install -r requirements/test.txt
@@ -41,7 +41,9 @@ before_script:
4141
- export PATH=$HOME/tmux/bin:$PATH
4242
- cd ..
4343
- tmux -V
44-
script: py.test --cov
44+
script:
45+
- py.test --cov
46+
- make flake8
4547
addons:
4648
apt:
4749
packages:

0 commit comments

Comments
 (0)