You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ho...@apache.org on 2018/04/19 01:27:14 UTC

[incubator-openwhisk-wskdeploy] branch master updated: Add scancode using ASF config. to Travis build.

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-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new 51f1412  Add scancode using ASF config. to Travis build.
51f1412 is described below

commit 51f1412d04b2f17abfdc0b2f807468f59bc039f5
Author: Matt Rutkowski <mr...@us.ibm.com>
AuthorDate: Wed Apr 18 16:50:36 2018 -0500

    Add scancode using ASF config. to Travis build.
---
 tools/travis/cloneutils.sh | 2 +-
 tools/travis/scancode.sh   | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/travis/cloneutils.sh b/tools/travis/cloneutils.sh
index e91d3e9..51c2b7c 100755
--- a/tools/travis/cloneutils.sh
+++ b/tools/travis/cloneutils.sh
@@ -24,6 +24,6 @@ set -o xtrace
 SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 HOMEDIR="$SCRIPTDIR/../../../"
 
-# clone OpenWhisk repo. in order to run scanCode.py
+# clone OpenWhisk utilities repo. in order to run scanCode
 cd $HOMEDIR
 git clone https://github.com/apache/incubator-openwhisk-utilities.git
diff --git a/tools/travis/scancode.sh b/tools/travis/scancode.sh
index 69f1cee..17c9bde 100755
--- a/tools/travis/scancode.sh
+++ b/tools/travis/scancode.sh
@@ -24,8 +24,8 @@ set -e
 # Build script for Travis-CI.
 SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 ROOTDIR="$SCRIPTDIR/../.."
-UTIL_DIR="$ROOTDIR/../incubator-openwhisk-utilities"
+UTILDIR="$ROOTDIR/../incubator-openwhisk-utilities"
 
-# run scancode
-cd $UTIL_DIR
-scancode/scanCode.py $ROOTDIR
+# run scancode using the ASF Release configuration
+cd $UTILDIR
+scancode/scanCode.py --config scancode/ASF-Release.cfg $ROOTDIR

-- 
To stop receiving notification emails like this one, please contact
houshengbo@apache.org.