Skip to content

Commit

Permalink
Fix flake8 tox env for testing via travis
Browse files Browse the repository at this point in the history
  • Loading branch information
david415 committed Dec 6, 2016
1 parent 1dbd260 commit fd9a751
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ language: python
sudo: required
dist: precise

install: "sudo apt-get update && sudo apt-get install -y python-dev && pip install -r requirements.txt && pip install -r dev-requirements.txt"
install: "sudo apt-get update && sudo apt-get install -y python-dev && pip install -r requirements.txt && pip install -r requirements-dev.txt"
env:
- TOX_ENV=flake8
- TOX_ENV=style
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include requirements.txt
include requirements-dev.txt
include tests/*.py
include pylioness/*.py
File renamed without changes.
13 changes: 4 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
[tox]
envlist = flake8, {py27,py33,py34,py35}-{pinned,unpinned}
envlist = style, {py27,py33,py34,py35}-{pinned,unpinned}

[flake8]
#exclude = crossbar/worker/test/examples/syntaxerror.py

[testenv:flake8]
[testenv:style]
skip_install = True
deps =
flake8
commands =
flake8 pylioness
deps = flake8
commands = flake8 ..
basepython = python2.7

[testenv:coverage-erase]
Expand Down

0 comments on commit fd9a751

Please sign in to comment.