summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun Li <matthew.lijun@huawei.com>2017-02-06 06:16:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-06 06:16:17 +0000
commit7773040b9d9141075085fad70ffc188776afd7c7 (patch)
tree09ebb9fe2922ecbd30dfd7f5c38861e96b345fba
parent14d3804df127e6d22cabbee11cac0e09408fc938 (diff)
parent8926ed866d310e43d4b86352e540875b21f0992d (diff)
Merge "yardstick: use tox to add support for python3"
-rw-r--r--jjb/yardstick/yardstick-project-jobs.yml15
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