CI: centralize requirements
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 11 Dec 2017 19:59:31 +0000 (14:59 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 14 Dec 2017 20:24:28 +0000 (15:24 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
requirements.txt
tox.ini

index 2df43c923595ca6fd9339f1e2f821a7d5cba1a47..d65416cba6bba4ef53966327fc83e3d499d0960f 100644 (file)
@@ -1,7 +1,5 @@
-GitPython==2.1.7
-lxml==4.1.1
-pickleshare==0.7.4
-psutil==5.3.1
-pytest==3.2.2
-PyYAML==3.12
+GitPython
+PyYAML
+lxml
+pytest
 python-magic
diff --git a/tox.ini b/tox.ini
index 14c521b2cdc4050e8903e069621baa38b79113ab..c63ca3a7039cc5445c174b46f669a94affa9532d 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -12,12 +12,8 @@ toxworkdir = {env:TOXWORKDIR:.tox}
 [testenv]
 passenv = CFLAGS CPPFLAGS LD_LIBRARY_PATH LDFLAGS
 changedir= lttng_ivc
+deps = -r{toxinidir}/requirements.txt
+
 commands = python bootstrap.py
        python build_projects.py
        pytest -v --durations=0 --basetemp={envtmpdir} {posargs:} tests/
-deps =
-    pytest
-    GitPython
-    lxml
-    PyYAML
-    python-magic
This page took 0.023715 seconds and 5 git commands to generate.