openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject [incubator-openwhisk-cli] branch master updated: Update Travis to use Scandcode with the ASF Release configuration. (#278)
Date Fri, 27 Apr 2018 17:07:24 GMT
This is an automated email from the ASF dual-hosted git repository.

pdesai 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 955f84e  Update Travis to use Scandcode with the ASF Release configuration. (#278)
955f84e is described below

commit 955f84e56341f8096ea5657bd4c3603f6f8cb266
Author: Matt Rutkowski <mrutkows@us.ibm.com>
AuthorDate: Fri Apr 27 12:07:22 2018 -0500

    Update Travis to use Scandcode with the ASF Release configuration. (#278)
    
    * Update Travis to use Scandcode with the ASF Release configuration.
    
    * Update Travis to use Scandcode with the ASF Release configuration.
    
    * Update Travis to use Scandcode with the ASF Release configuration.
    
    * Update Travis to use Scandcode with the ASF Release configuration.
---
 tools/travis/test_openwhisk.sh | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/tools/travis/test_openwhisk.sh b/tools/travis/test_openwhisk.sh
index 26e734b..acb4f4e 100755
--- a/tools/travis/test_openwhisk.sh
+++ b/tools/travis/test_openwhisk.sh
@@ -59,9 +59,17 @@ OPENWHISK_HOME="$( cd "${OPENWHISK_HOME:-$HOMEDIR/incubator-openwhisk}"
&& pwd )
 export OPENWHISK_HOME
 
 #
-#  Perform code validation using scanCode and Golint
+#  Run scancode using the ASF Release configuration
 #
-../incubator-openwhisk-utilities/scancode/scanCode.py $TRAVIS_BUILD_DIR
+UTILDIR="$( cd "${UTILDIR:-$HOMEDIR/incubator-openwhisk-utilities}" && pwd )"
+export UTILDIR
+cd $UTILDIR
+scancode/scanCode.py --config scancode/ASF-Release.cfg $TRAVIS_BUILD_DIR
+
+#
+#  Run Golint
+#
+cd $TRAVIS_BUILD_DIR
 ./gradlew --console=plain goLint
 
 #

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

Mime
View raw message