diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2016-12-06 23:06:18 -0500 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-02-02 20:29:05 -0800 |
commit | 8926ed866d310e43d4b86352e540875b21f0992d (patch) | |
tree | afab912fa79b272cdcad98330a318b5ed12c9578 /jjb/yardstick | |
parent | b4c081c4458de68d54c9a8a9627a85cc8446187c (diff) |
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 <ross.b.brattain@intel.com>
Diffstat (limited to 'jjb/yardstick')
-rw-r--r-- | jjb/yardstick/yardstick-project-jobs.yml | 15 |
1 files changed, 1 insertions, 14 deletions
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 |