use tox for testing in different python environments

This commit is contained in:
Alan Hamlett 2015-08-11 14:04:16 -07:00
parent 058cb4ddcf
commit 1e2a9b2a44
2 changed files with 7 additions and 2 deletions

View file

@ -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
View file

@ -0,0 +1,5 @@
[tox]
envlist = py26, py27, py33, py34
[testenv]
deps = -rdev-requirements.txt
commands = nosetests