Add tox support for easier deployment in CI
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 27 Nov 2017 20:15:58 +0000 (15:15 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 27 Nov 2017 20:15:58 +0000 (15:15 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
setup.py [new file with mode: 0644]
tox.ini [new file with mode: 0644]

diff --git a/setup.py b/setup.py
new file mode 100644 (file)
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 (file)
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