From 8926ed866d310e43d4b86352e540875b21f0992d Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Tue, 6 Dec 2016 23:06:18 -0500 Subject: yardstick: use tox to add support for python3 We need to start adding support to Python3 to match Openstack support for Python3. Use tox and move all the env setup to tox.ini JIRA: YARDSTICK-452 Change-Id: Ie57b5edd87ab6fad641a174f468d3265757e0f71 Signed-off-by: Ross Brattain --- jjb/yardstick/yardstick-project-jobs.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'jjb/yardstick/yardstick-project-jobs.yml') diff --git a/jjb/yardstick/yardstick-project-jobs.yml b/jjb/yardstick/yardstick-project-jobs.yml index 4b7ff6faf..120e6af7b 100644 --- a/jjb/yardstick/yardstick-project-jobs.yml +++ b/jjb/yardstick/yardstick-project-jobs.yml @@ -110,17 +110,4 @@ echo "Running unit tests..." cd $WORKSPACE - virtualenv $WORKSPACE/yardstick_venv - source $WORKSPACE/yardstick_venv/bin/activate - - # install python packages - sudo apt-get install -y build-essential python-dev python-pip python-pkg-resources - easy_install -U setuptools==33.1.1 - easy_install -U pip - pip install -r requirements.txt || pip install -r tests/ci/requirements.txt - pip install -e . - - # unit tests - ./run_tests.sh - - deactivate + tox -- cgit 1.2.3-korg