From d93d67ca0c9388737cf6fa41bff9e803d096d0fa Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 27 Nov 2017 15:15:58 -0500 Subject: [PATCH] Add tox support for easier deployment in CI Signed-off-by: Jonathan Rajotte --- setup.py | 9 +++++++++ tox.ini | 17 +++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 setup.py create mode 100644 tox.ini 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 -- 2.34.1