Add tox support for stem
Diff for getting tox support for stem. It will run everything over all python versions we want to support. This will also make it easier to get jenkins to run multiple python versions.
Note: There is a bug where the
run_tests.py script does not return
the proper error code(?) for tox, so it will complain about not being
able to execute the given command if there are errors. This should be
easy to solve tho.
diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..85d85f1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +mock +pyflakes +pep8 +pycrypto +tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..b0876da --- /dev/null +++ b/tox.ini @@ -0,0 +1,11 @@ +[tox] +envlist = py26,py27,py31,py32,py33,py34 +skipsdist = True + +[testenv] +commands = + pip install --allow-all-external -e . + python run_tests.py -a +deps = + -rrequirements.txt +