Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Commit

Permalink
added flake8 CI checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ran Ziv committed Jan 4, 2017
1 parent 984d5d2 commit 75877fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -17,7 +17,8 @@ language: python
python:
- "2.7"
env:
- TOX_ENV=py27
- TOX_ENV=flake8
# - TOX_ENV=py27
# TODO add python 2.6?
install:
- pip install --upgrade pip
Expand Down
1 change: 1 addition & 0 deletions tests/requirements.txt
@@ -0,0 +1 @@
flake8==3.2.1
8 changes: 6 additions & 2 deletions tox.ini
Expand Up @@ -13,14 +13,18 @@
# under the License.

[tox]
envlist=py27
envlist=flake8,py27

[testenv]
deps =
-rrequirements.txt
-rtests/requirements.txt
-rparser/tests/requirements.txt
basepython =
py27: python2.7

[testenv:py27]
commands=pytest parser/tests --cov-report term-missing --cov aria
commands=pytest parser/tests --cov-report term-missing --cov aria

[testenv:flake8]
commands=flake8 parser

0 comments on commit 75877fb

Please sign in to comment.