diff options
author | Kristian Hunt <kristian.hunt@gmail.com> | 2015-08-12 14:52:04 +0200 |
---|---|---|
committer | Kristian Hunt <kristian.hunt@gmail.com> | 2015-08-12 14:56:49 +0200 |
commit | dc43a25762248f542172a65ca41eb26e9e528371 (patch) | |
tree | a66076fc1c623eba3b0c692ec46c937c3a3fc6f3 /jjb/yardstick | |
parent | 69f35435acb51092e49888547be401bcca92f90b (diff) |
Activate virtualenv in yardstick verify and merge jobs
JIRA: YARDSTICK-29
Change-Id: Ib45c02c134a869c3503975484e75469238b903fb
Signed-off-by: Kristian Hunt <kristian.hunt@gmail.com>
Diffstat (limited to 'jjb/yardstick')
-rw-r--r-- | jjb/yardstick/yardstick.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/yardstick/yardstick.yml b/jjb/yardstick/yardstick.yml index 8f40d8750..7b6a4fbf7 100644 --- a/jjb/yardstick/yardstick.yml +++ b/jjb/yardstick/yardstick.yml @@ -134,7 +134,11 @@ - shell: | echo "Running unit tests..." cd $WORKSPACE + virtualenv $WORKSPACE/yardstick_venv + source $WORKSPACE/yardstick_venv/bin/activate + python setup.py develop > /dev/null 2>&1 ./run_tests.sh + deactivate - job-template: name: 'yardstick-merge' @@ -190,7 +194,11 @@ - shell: | echo "Running unit tests..." cd $WORKSPACE + virtualenv $WORKSPACE/yardstick_venv + source $WORKSPACE/yardstick_venv/bin/activate + python setup.py develop > /dev/null 2>&1 ./run_tests.sh + deactivate - job-template: name: 'yardstick-{pod}' |