summaryrefslogtreecommitdiffstats
path: root/jjb/dovetail
diff options
context:
space:
mode:
authorJun Li <matthew.lijun@huawei.com>2016-12-21 07:27:20 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-21 07:27:20 +0000
commit301f4b9b41822f2e5f24a96f979c2a2b4782a396 (patch)
tree43751f425b0d7e2965b827e5a70f7449dadbbcb2 /jjb/dovetail
parent6cf5e8cf019b44cb54ee2de95a6acafe74c8c2b2 (diff)
parent79170e985ba9cdc63010c22a362b08db83d3e3be (diff)
Merge "dovetail: tox supported in verify job"
Diffstat (limited to 'jjb/dovetail')
-rw-r--r--jjb/dovetail/dovetail-project-jobs.yml24
1 files changed, 10 insertions, 14 deletions
diff --git a/jjb/dovetail/dovetail-project-jobs.yml b/jjb/dovetail/dovetail-project-jobs.yml
index 826684919..904841396 100644
--- a/jjb/dovetail/dovetail-project-jobs.yml
+++ b/jjb/dovetail/dovetail-project-jobs.yml
@@ -93,25 +93,21 @@
#builders for dovetail project
###############################
- builder:
- name: dovetail-unit-tests
+ name: dovetail-hello-world
builders:
- shell: |
#!/bin/bash
set -o errexit
- set -o pipefail
- echo "Running unit tests..."
- cd $WORKSPACE
- virtualenv $WORKSPACE/dovetail_venv
- source $WORKSPACE/dovetail_venv/bin/activate
+ echo "hello world"
- #packages installation
- easy_install -U setuptools
- easy_install -U pip
- pip install -r unittests/requirements.txt
- pip install -e .
- #unit tests
- /bin/bash $WORKSPACE/unittests/unittest.sh
+- builder:
+ name: dovetail-unit-tests
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -o errexit
+ set -o pipefail
- deactivate
+ tox