use tox for testing in different python environments
This commit is contained in:
parent
058cb4ddcf
commit
1e2a9b2a44
2 changed files with 7 additions and 2 deletions
|
@ -88,7 +88,7 @@ Before contributing a pull request, make sure tests pass::
|
|||
|
||||
virtualenv venv
|
||||
. venv/bin/activate
|
||||
pip install -r dev-requirements.txt
|
||||
nosetests
|
||||
pip install tox
|
||||
tox
|
||||
|
||||
Many thanks to all `contributors <https://github.com/wakatime/wakatime/blob/master/AUTHORS>`_!
|
||||
|
|
5
tox.ini
Normal file
5
tox.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[tox]
|
||||
envlist = py26, py27, py33, py34
|
||||
[testenv]
|
||||
deps = -rdev-requirements.txt
|
||||
commands = nosetests
|
Loading…
Reference in a new issue