This is an automated email from the ASF dual-hosted git repository.
houshengbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git
The following commit(s) were added to refs/heads/master by this push:
new bb4becc Run the openwhisk test cases by using the binary generated by the cli
repo
bb4becc is described below
commit bb4becc794720881cacc41afacdd14663d7da9bc
Author: Vincent Hou <shou@us.ibm.com>
AuthorDate: Thu May 11 11:41:13 2017 -0400
Run the openwhisk test cases by using the binary generated by the cli repo
---
tools/travis/install_openwhisk.sh | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/tools/travis/install_openwhisk.sh b/tools/travis/install_openwhisk.sh
index eb0b268..3b728c4 100755
--- a/tools/travis/install_openwhisk.sh
+++ b/tools/travis/install_openwhisk.sh
@@ -12,21 +12,25 @@ WHISKDIR="$HOMEDIR/openwhisk"
cd $WHISKDIR
./tools/travis/setup.sh
-ANSIBLE_CMD="ansible-playbook -i environments/local"
+ANSIBLE_CMD="ansible-playbook -i environments/local -e docker_image_prefix=testing"
cd $WHISKDIR/ansible
$ANSIBLE_CMD setup.yml
$ANSIBLE_CMD prereq.yml
$ANSIBLE_CMD couchdb.yml
$ANSIBLE_CMD initdb.yml
+$ANSIBLE_CMD apigateway.yml
cd $WHISKDIR
-./gradlew distDocker
+./gradlew distDocker -PdockerImagePrefix=testing
cd $WHISKDIR/ansible
$ANSIBLE_CMD wipe.yml
$ANSIBLE_CMD openwhisk.yml
+# Copy the binary generated into the OPENWHISK_HOME/bin, so that the test cases will run
based on it.
+cp $TRAVIS_BUILD_DIR/wsk $WHISKDIR/bin
+
# Run the test cases under openwhisk to ensure the quality of the binary.
cd $WHISKDIR
-./gradlew tests:test
+./gradlew :tests:testLean
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].
|