Update to run scancode from incubator-openwhisk-utilities repo. (#103)
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index 6a45e86..fe7a4ec 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -5,11 +5,11 @@
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
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
index bfc9f00..fcb973d 100755
--- a/tools/travis/setup.sh
+++ b/tools/travis/setup.sh
@@ -26,6 +26,10 @@
sudo apt-get -y install nodejs npm
sudo npm install -g jshint
+# 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