-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds tox test environment to easily run test suite against py27 and py34 environment as well as flake8.
- Loading branch information
1 parent
7050779
commit 2ed5550
Showing
4 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
*.pyc | ||
*.swp | ||
.coverage | ||
.tox/ | ||
lshell.egg-info/ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
bandit | ||
coverage | ||
flake8 | ||
nose | ||
pexpect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[tox] | ||
envlist = py27,py34,pep8 | ||
minversion = 1.6 | ||
skipsdist = True | ||
|
||
[testenv] | ||
passenv = HOME | ||
usedevelop = True | ||
deps = -rtest-requirements.txt | ||
-rrequirements.txt | ||
commands = nosetests -v --cover-package=lshell --with-coverage test/ | ||
|
||
[testenv:pep8] | ||
commands = flake8 --ignore=E26,E501,E251,E225 bin lshell test |