From b203398db3742017569092cdcfe79248d260989f Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 11 Dec 2017 14:59:31 -0500 Subject: [PATCH 1/1] CI: centralize requirements Signed-off-by: Jonathan Rajotte --- requirements.txt | 10 ++++------ tox.ini | 8 ++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/requirements.txt b/requirements.txt index 2df43c9..d65416c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 14c521b..c63ca3a 100644 --- 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 -- 2.34.1