Skip to content

Commit

Permalink
Merge pull request #20 from xrotwang/master
Browse files Browse the repository at this point in the history
Use tox to run tests on multiple versions of python
  • Loading branch information
sckott committed May 20, 2016
2 parents 9ee5980 + a44b99b commit 4306afe
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
1 change: 0 additions & 1 deletion .coverage

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@

# Build output
/build/

.tox
.coverage
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include *.rst *.md LICENSE
17 changes: 17 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[tox]
envlist =
py34,py27

[testenv]
commands =
python setup.py develop
nosetests --with-coverage --cover-package=pygbif
deps =
nose
coverage

[testenv:py34]
basepython = python3.4

[testenv:py27]
basepython = python2.7

0 comments on commit 4306afe

Please sign in to comment.