diff options
author | Mark Beierl <mark.beierl@emc.com> | 2016-01-07 12:17:03 -0500 |
---|---|---|
committer | Mark Beierl <mark.beierl@emc.com> | 2016-01-07 12:17:03 -0500 |
commit | 9960601b321f10a11257832a2ecacb91acf03c53 (patch) | |
tree | ee039e430b4755896536b0ca5f51dac2f5682de9 /ci/merge.sh | |
parent | f099c8aaa7aeae805f7534382bfef789894abffb (diff) |
Switching merge job to virtualenv
Signed-off-by: Mark Beierl <mark.beierl@emc.com>
Diffstat (limited to 'ci/merge.sh')
-rwxr-xr-x | ci/merge.sh | 16 |
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 |