diff --git a/Jenkinsfile b/Jenkinsfile index 495ce8a4..0dc45835 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ pipeline { steps { withPythonEnv('python2') { pysh 'python -m pip install -r requirements.txt' - pysh 'python -m pip install nose mock' + pysh 'python -m pip install -r requirements-test.txt' pysh 'python -m nose --with-xunit || true' junit 'nosetests.xml' } diff --git a/requirements-test.txt b/requirements-test.txt new file mode 100644 index 00000000..a2dc6a12 --- /dev/null +++ b/requirements-test.txt @@ -0,0 +1,2 @@ +nose>=1.3.0,<2.0.0 +mock>=2.0.0,<3.0.0