summaryrefslogtreecommitdiffstats
path: root/ci/merge.sh
diff options
context:
space:
mode:
authorMark Beierl <mark.beierl@emc.com>2016-04-15 13:10:47 -0400
committerMark Beierl <mark.beierl@emc.com>2016-04-15 13:51:14 -0400
commit07a375f25ee831100ecf21e7bb9c1bdcd3b960f5 (patch)
tree9b464dacab1ca8e7bf0122b48a5c8c1308d5dece /ci/merge.sh
parent9e682a1b04a8d1f60834d55fd9cef6b341ff7d7b (diff)
Tests in verify
Run the tests in the verify command instead of just merge so that way patches can be rejected if tests fail Change-Id: I8907618a324296460a71a51d087926f9089e0d21 Signed-off-by: Mark Beierl <mark.beierl@emc.com>
Diffstat (limited to 'ci/merge.sh')
-rwxr-xr-xci/merge.sh27
1 files changed, 2 insertions, 25 deletions
diff --git a/ci/merge.sh b/ci/merge.sh
index ca55281..80ffdb6 100755
--- a/ci/merge.sh
+++ b/ci/merge.sh
@@ -8,28 +8,5 @@
# 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
-
-pip install --upgrade setuptools
-pip install nose -I
-pip install coverage -I
-python ci/setup.py develop
-
-
-if [ -x /usr/bin/flake8 ]; then
- flake8 storperf
-fi
-
-nosetests --with-xunit \
- --with-coverage \
- --cover-package=storperf\
- --cover-xml \
- storperf
-
-deactivate \ No newline at end of file
+# Just run the verify again for now
+`dirname $0`/verify.sh \ No newline at end of file