#!/bin/bash | |
# Licensed to the Apache Software Foundation (ASF) under one or more contributor | |
# license agreements; and to You under the Apache License, Version 2.0. | |
SCRIPTDIR=$(cd $(dirname "$0") && pwd) | |
HOMEDIR="$SCRIPTDIR/../../../" | |
# install node and npm | |
sudo apt-get -y install nodejs npm | |
cd $HOMEDIR | |
# shallow clone OpenWhisk repo. | |
git clone --depth 1 https://github.com/apache/incubator-openwhisk.git openwhisk | |
cd openwhisk | |
./tools/travis/setup.sh |