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

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

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

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


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

commit 58d5202d4f473371490de7d5f5347b90d1373283
Author: Matt Rutkowski <mr...@us.ibm.com>
AuthorDate: Thu Jun 8 11:13:03 2017 -0500

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

diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index 7b65f3f..2a7de64 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -6,10 +6,11 @@ set -e
 SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 ROOTDIR="$SCRIPTDIR/../.."
 WHISKDIR="$ROOTDIR/../openwhisk"
+UTILDIR="$ROOTDIR/../incubator-openwhisk-utilities"
 
 # run scancode
-cd $WHISKDIR
-tools/build/scanCode.py $ROOTDIR
+cd $UTILDIR
+scancode/scanCode.py $ROOTDIR
 
 # run jshint
 cd $ROOTDIR/packages
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
index a4d74d2..1d6fd9e 100755
--- a/tools/travis/setup.sh
+++ b/tools/travis/setup.sh
@@ -7,8 +7,11 @@ HOMEDIR="$SCRIPTDIR/../../../"
 sudo apt-get -y install nodejs npm
 sudo npm install -g jshint
 
-# OpenWhisk stuff
+# clone utilties repo. in order to run scanCode.py
 cd $HOMEDIR
+git clone https://github.com/apache/incubator-openwhisk-utilities.git
+
+# shallow clone OpenWhisk repo.
 git clone --depth 1 https://github.com/apache/incubator-openwhisk.git openwhisk
 
 cd openwhisk

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