You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by be...@apache.org on 2017/06/08 16:13:01 UTC

[incubator-openwhisk-package-kafka] branch master updated: Update to run scancode from incubator-openwhisk-utilities repo. (#179)

This is an automated email from the ASF dual-hosted git repository.

berstler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-kafka.git


The following commit(s) were added to refs/heads/master by this push:
     new b17d9bd  Update to run scancode from incubator-openwhisk-utilities repo. (#179)
b17d9bd is described below

commit b17d9bd13ae99be2fbdda60c4d6ba85c5bf00541
Author: Matt Rutkowski <mr...@us.ibm.com>
AuthorDate: Thu Jun 8 11:12:59 2017 -0500

    Update to run scancode from incubator-openwhisk-utilities repo. (#179)
---
 tools/travis/build.sh | 9 ++++-----
 tools/travis/setup.sh | 5 ++++-
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index ef370ef..eab9ced 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -5,9 +5,8 @@ set -e
 
 SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 ROOTDIR="$SCRIPTDIR/../.."
-WHISKDIR="$ROOTDIR/../openwhisk"
+UTILDIR="$ROOTDIR/../incubator-openwhisk-utilities"
 
-# Scan code
-
-cd $WHISKDIR
-tools/build/scanCode.py $ROOTDIR
+# run scancode
+cd $UTILDIR
+scancode/scanCode.py $ROOTDIR
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
index 7675a2f..9c29d07 100755
--- a/tools/travis/setup.sh
+++ b/tools/travis/setup.sh
@@ -22,7 +22,10 @@ pip install --user jsonschema
 # Ansible
 pip install --user ansible==2.1.2.0
 
-# OpenWhisk stuff
+# clone OpenWhisk repo. in order to run scanCode.py
+cd $HOMEDIR
+git clone https://github.com/apache/incubator-openwhisk-utilities.git
 
+# OpenWhisk stuff
 cd $HOMEDIR
 git clone https://github.com/openwhisk/openwhisk.git

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].