Skip to content

Commit

Permalink
Run flake8 analysis in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
m-lundberg committed Oct 8, 2018
1 parent 85a2d01 commit 27277e0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ language: python

python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"
- "pypy"
- "pypy3"

script: python -m pytest -v .
install: pip install flake8

script:
- python -m pytest -v .
- flake8
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
universal=1

[flake8]
exclude=.tox,simple_pid/__init__.py
exclude=docs,simple_pid/__init__.py
max-line-length=119
10 changes: 3 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
envlist = py2, py3, pypy, flake8

[testenv]
commands = pytest

deps =
pytest
commands = pytest -v
deps = pytest

[testenv:flake8]
commands = flake8 simple_pid tests examples

deps =
flake8
deps = flake8

0 comments on commit 27277e0

Please sign in to comment.