From: Jonathan Rajotte Date: Mon, 27 Nov 2017 20:15:58 +0000 (-0500) Subject: Add tox support for easier deployment in CI X-Git-Url: http://git.efficios.com/?p=deliverable%2Flttng-ivc.git;a=commitdiff_plain;h=d93d67ca0c9388737cf6fa41bff9e803d096d0fa Add tox support for easier deployment in CI Signed-off-by: Jonathan Rajotte --- diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f00cbf9 --- /dev/null +++ b/setup.py @@ -0,0 +1,9 @@ +from distutils.core import setup + +setup( + name='lttng-ivc', + version='0.1dev', + packages=[], + license='MIT', + long_description=open('README').read(), +) diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..9130ab4 --- /dev/null +++ b/tox.ini @@ -0,0 +1,17 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py35 + +[testenv] +changedir= lttng_ivc +commands = python bootstrap.py + pytest tests/ +deps = + pytest + GitPython + lxml + PyYAML