dubeejw closed pull request #229: Travis local cli
URL: https://github.com/apache/incubator-openwhisk-cli/pull/229
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tools/travis/test_openwhisk.sh b/tools/travis/test_openwhisk.sh
index 67b1ceca..4ee46dcb 100755
--- a/tools/travis/test_openwhisk.sh
+++ b/tools/travis/test_openwhisk.sh
@@ -68,11 +68,7 @@ $ANSIBLE_CMD couchdb.yml
 $ANSIBLE_CMD initdb.yml
 $ANSIBLE_CMD apigateway.yml
 $ANSIBLE_CMD wipe.yml
-$ANSIBLE_CMD openwhisk.yml -e openwhisk_cli_home=$TRAVIS_BUILD_DIR
-
-# Copy the binary generated into the OPENWHISK_HOME/bin, so that the test 
cases will run based on it.
-mkdir -p $OPENWHISK_HOME/bin
-cp -f $TRAVIS_BUILD_DIR/build/wsk $OPENWHISK_HOME/bin
+$ANSIBLE_CMD openwhisk.yml -e cli_installation_mode=local -e 
openwhisk_cli_home=$TRAVIS_BUILD_DIR
 
 #  Run the test cases under openwhisk to ensure the quality of the runnint API.
 cd $TRAVIS_BUILD_DIR


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to