Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tox.ini file and updated README. This allows a developer / cont…
…ributor to test all of the code on all of the configurations, in much the same fashion as Travis-CI does.
- Loading branch information
1 parent
ad7ac43
commit cd96a9f
Showing
3 changed files
with
79 additions
and
6 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
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
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,22 @@ | ||
[tox] | ||
envlist = | ||
{py26,py27,py32,py33,py34}, | ||
{py26,py27,py32,py33,py34}-{shapely,lxml}, | ||
{py26,py27,py32,py33,py34}-shapely-lxml, | ||
pep8 | ||
|
||
[testenv] | ||
deps = | ||
pytest | ||
coverage | ||
py26: unittest2 | ||
shapely: Shapely | ||
lxml: lxml | ||
commands = | ||
coverage run -a --source=fastkml setup.py test | ||
|
||
[testenv:pep8] | ||
deps = | ||
pep8 | ||
commands = | ||
pep8 --exclude test_main.py fastkml |