summaryrefslogtreecommitdiffstats
path: root/ci/merge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/merge.sh')
-rwxr-xr-xci/merge.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/ci/merge.sh b/ci/merge.sh
index 337fc55..ddcc0eb 100755
--- a/ci/merge.sh
+++ b/ci/merge.sh
@@ -8,6 +8,20 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+if [ -z $WORKSPACE ]
+then
+ WORKSPACE="$HOME"
+fi
+
+virtualenv $WORKSPACE/storperf_venv
+source $WORKSPACE/storperf_venv/bin/activate
+
+easy_install -U setuptools
+pip install nose -I
+pip install coverage -I
+python ci/setup.py develop
+
+
if [ -x /usr/bin/flake8 ]; then
flake8 storperf
fi
@@ -17,3 +31,5 @@ nosetests --with-xunit \
--cover-package=storperf\
--cover-xml \
storperf
+
+deactivate \ No newline at end of file