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

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new ee7e622  Github action for docker runtime (#99)
ee7e622 is described below

commit ee7e622d41c46cce00e516bc036c6ed284444fea
Author: Luke-Roy-IBM <[email protected]>
AuthorDate: Thu Mar 9 15:16:42 2023 +0100

    Github action for docker runtime (#99)
---
 .github/workflows/ci.yaml  | 133 +++++++++++++++++++++++++++++++++++++++++++++
 .travis.yml                |  66 ----------------------
 README.md                  |   2 +-
 tools/travis/build.sh      |  43 ---------------
 tools/travis/build_sdk.sh  |  27 ---------
 tools/travis/publish.sh    |  61 ---------------------
 tools/travis/rename_sdk.sh |  34 ------------
 tools/travis/setup.sh      |  35 ------------
 tools/travis/test.sh       |  30 ----------
 9 files changed, 134 insertions(+), 297 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000..c720ebd
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,133 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: Continuous Integration
+
+on:
+  push:
+    branches: [ master ]
+    tags: [ '*' ]
+  pull_request:
+    branches: [ master ]
+    types: [ opened, synchronize, reopened ]
+  schedule:
+    - cron: '30 1 * * 1,3,5'
+
+permissions: read-all
+
+jobs:
+  ci:
+    runs-on: ubuntu-22.04
+    env:
+      PUSH_NIGHTLY: ${{ (github.event_name == 'push' || github.event_name == 
'schedule') && github.ref == 'refs/heads/master' }}
+      PUSH_RELEASE: ${{ github.event_name == 'push' && github.ref_type == 
'tag' }}
+    steps:
+      # Checkout just this repo and run scanCode before we do anything else
+      - name: Checkout runtime repo
+        uses: actions/checkout@v3
+        with:
+          path: runtime
+      - name: Scan Code
+        uses: apache/openwhisk-utilities/scancode@master
+
+      # Install core OpenWhisk artifacts needed to build/test anything else
+      - name: Checkout OpenWhisk core repo
+        uses: actions/checkout@v3
+        with:
+          repository: apache/openwhisk
+          path: core
+
+      - name: Checkout OpenWhisk Utilities repo
+        uses: actions/checkout@v3
+        with:
+          repository: apache/openwhisk-utilities
+          path: utilities
+
+      - name: Setup Java
+        uses: actions/setup-java@v3
+        with:
+          distribution: 'temurin'
+          java-version: '11'
+
+      - name: Setup OpenWhisk
+        working-directory: core
+        run: |
+          ./tools/travis/setup.sh
+
+      # run scancode using the ASF Release configuration
+      - name: Setup
+        working-directory: utilities
+        run: |
+          scancode/scanCode.py --config scancode/ASF-Release.cfg ../runtime
+
+      - name: Compile and Install Core OpenWhisk
+        working-directory: core
+        run: |
+          ./gradlew install tests:buildArtifacts
+          export OPENWHISK_HOME=$(pwd)
+          echo "openwhisk.home=$OPENWHISK_HOME" > whisk.properties
+          echo "vcap.services.file=" >> whisk.properties
+
+      # Build this repository
+      - name: Build Runtime && SDK
+        working-directory: runtime
+        run: |
+          ./gradlew distDocker
+          ./sdk/docker/build_tgz.sh blackbox.tar.gz
+
+      # Test this repository
+      - name: Test Runtime
+        working-directory: runtime
+        run: |
+          export OPENWHISK_HOME="$(pwd)/../core"
+          ./gradlew :tests:checkScalafmtAll
+          ./gradlew :tests:test
+
+      # Conditionally publish runtime images to DockerHub
+      # Important: naming convention for release tags is runtime@version
+      - name: Docker Login
+        if: ${{ env.PUSH_NIGHTLY  == 'true' || env.PUSH_RELEASE == 'true' }}
+        uses: docker/login-action@v2
+        with:
+          username: ${{ secrets.DOCKERHUB_USER_OPENWHISK }}
+          password: ${{ secrets.DOCKERHUB_TOKEN_OPENWHISK }}
+      - name: Push Nightly Images
+        if: ${{ env.PUSH_NIGHTLY  == 'true' }}
+        working-directory: runtime
+        run: |
+          SHORT_COMMIT=$(git rev-parse --short "$GITHUB_SHA")
+          ./gradlew :core:actionProxy:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
+          ./gradlew :core:actionProxy:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
+          ./gradlew :sdk:docker:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
+          ./gradlew :sdk:docker:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
+      - name: Push Release Images
+        if: ${{ env.PUSH_RELEASE == 'true' }}
+        working-directory: runtime
+        run: |
+          IMAGE_TAG=${GITHUB_REF_NAME##*@}
+          SHORT_COMMIT=$(git rev-parse --short "$GITHUB_SHA")
+          GRADLE_BUILD=":core:actionProxy:distDocker"
+
+          if [ ${IMAGE_NAME} == "dockerskeleton" ]; then
+            GRADLE_BUILD=":core:actionProxy:distDocker"
+          elif [ ${IMAGE_NAME} == "example" ]; then
+            GRADLE_BUILD=":sdk:docker:distDocker"
+          fi
+
+          ./gradlew ${GRADLE_BUILD} -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=$IMAGE_TAG
+          ./gradlew ${GRADLE_BUILD} -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 67334af..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-sudo: required
-dist: xenial
-jdk: openjdk8
-language: java
-services:
-  - docker
-
-notifications:
-  email: false
-  webhooks:
-    urls:
-      # travis2slack webhook to enable DMs on openwhisk-team.slack.com to PR 
authors with TravisCI results
-      secure: 
"hOMVqtb6i1yclhb9/OK73yIrNUM++q4q2YfiujV05nsOblhAX5yYkYHLc4QTgoKYt3PAUjRt8uCT7y6CyIKuKFblivSuFdWzcZ1mbOCOjySet4wEu91BdUsqQH7kSvlZJPa5gwO8LPZ4KHBZEADpCZSAtibq8QvL5ExAjYjjolF9mzNrbbhojCvkN8a90da6959Pv5UeUoXBmNSwb0aVG2dlI8njFoPQhkds6gbv1htEAekNIc1pF2xvKRB6j+S5aU58G9E6/Qh0Leohtz90oi6xZ/IhIR+KWpTVATWCjYgLRdmNFc8n3uh7iVtvwceAIWc+GNNXDMLj2Lfm65mNsQUdtSfRUi9jd454heXxW9u5GgBwh/v5Ai2wkrRrDYjkR5MCkA1N6BZ5VRI/jAuM4m7DJNTkrtGc+UYoFdTaC0/yxnL+RfSrWOw5SxsN3EJsYYnBgm4IXP/95cNbYVm9NMP/FLza8
 [...]
-
-before_install:
-  - "./tools/travis/setup.sh"
-install: true
-script:
-  - "./tools/travis/build.sh && ./tools/travis/build_sdk.sh && 
./tools/travis/test.sh"
-before_deploy:
-  - "./tools/travis/rename_sdk.sh ${TRAVIS_TAG%@*} ${TRAVIS_TAG##*@}"
-deploy:
-  - provider: script
-    script: "./tools/travis/publish.sh openwhisk ${TRAVIS_TAG%@*} 
${TRAVIS_TAG##*@}"
-    on:
-      tags: true
-      all_branches: true
-      condition: "${TRAVIS_TAG%@*} = dockerskeleton || ${TRAVIS_TAG%@*} = 
example"
-      repo: apache/openwhisk-runtime-docker
-  - provider: script
-    script: "./tools/travis/publish.sh openwhisk dockerskeleton nightly && 
./tools/travis/publish.sh openwhisk example nightly"
-    on:
-      branch: master
-      repo: apache/openwhisk-runtime-docker
-  - provider: releases
-    api_key:
-      secure: 
R+7PrIf0bLqcQJ9XRQX1Arnund9p0CRdn4TQbvK2kz0h69y233FS7JVa+U6mEptzUErLa90PrONDfB/iNC1YLn/pIfGsM2l34CTC0OQPgHRuY6uBg48jM7rRAM3nUHseFHF2o9Hh0zXZRI4lj+nYe1LTR0Xsn50AGtPAeIEHItv4ojGzujgeBZsjBjCSLbEGxRjP8XqAgs/PA4QrmcSXlP4fEwidEOp3wqAaTIpHRksu7nv3j8H3IpWG6M3hAYn0LJcLi5pF4jwsq85H/+BGRp0ZbVW7uZtpl/bI5T0DkmPXEI4ywcwb3w8CCFs9WMNwB9zMs5j3MFX2dzzPNLJ5ostuEY6Vwzz0tdaqEoAB7n2kLd0akKX/WJiu7Jh35Ul3tYhLpNIWmO6bjaYY7fEdtXX1WLBVIlJIEd+wfDd3a85sIFTQj1YT9os1iS4B3vc9tpbw5D51qzqSRNtoAfV3tablp5obdd
 [...]
-    overwrite: true
-    skip_cleanup: true
-    file: "./build/blackbox-${TRAVIS_TAG##*@}.tar.gz"
-    on:
-      tags: true
-      all_branches: true
-      condition: "${TRAVIS_TAG%@*} = sdk"
-      repo: apache/openwhisk-runtime-docker
-env:
-  global:
-    - secure: 
"RT/4lKi5mnhD92TRBXj8xg7DJvvaXEmz0hk0i8BzYeuDv9X5xHL6xvCW5DdotHzgqaDAdKUyjQemhmGpLTmuuTFBqDMPJqJ5ojSnSjsmc7wjR7F1+7JuzKAEGbsOYJyXXOdzsvi4YJWBeW66lOj4nzsn+2hYFW95bKg3XUH4FXeIRKZ8wOtLFR/jE5yMmA1Onj2HtVKtpJYUdkyhURdYy+F1k2Oqih3FPDd+fg5y+yYz0HbKYKgwo8/qSlKVjMm5eeaWUoonjE1ds1xE3TFXAJ8Y5/H7wA19josRe0l53AGTrTcYUG1KsAsiHlTRD2F8QE/9aTiY/r38/bfSBmS/QAvRxfuQXVTzVRnY4msJ4pxleb1BsNe9wgAtFZArCKsUwMaKTMklmZTfgqS9HqwI8xCpqNlzurpLBlk0Xt40717YmuTdF5Zi18ba2I1ZlyylpkJ44Vr78LZWkNQWu5WLM+sxA8IT0
 [...]
-    - secure: 
"rhBA9z2RTS51/p1XpHwnHJteMFMMAiiRgV0WBeWg81f3csX0Qx0z+4VYEljtqwiUez3vAD0zaO545YDBSFseIRzF1AS7Mix/AJlsLvMdx47ZpzU7HmeBPxnhWQjyi7FUolmyb6QEwuokwnmUCDiZl+SMn93kd+/v5xztGFoCTeO0ySOUKZVz8g0PCXNrj3/EgNCNGZi6HGk0W2ZLiGedN0vr6m4irXD0E9AbC9EzpWSkcXvgH2HmptOo9WVt/SLABYKYh/epCH509ZcAYJi16na9kMumgqg4/XEjmt6w9EsXBIR6ylr7I5je8xFmkTUDKToDzan1LxJBMLszqJJ70h2A2IfT6UAhkI9g3LQHF5hue0x+7Ak6U/Kh5ZktBX4LYWGO1NCvRP5/v1hvdj++z0lZO+BmtvrDo+64K2d/Mt2x+XYFcdZ7uSpuATwmg484L6Hhu4dubdZAUbZgPf769r6Co3QM6
 [...]
diff --git a/README.md b/README.md
index c0406b2..8e8a911 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@
 
 # Apache OpenWhisk runtimes for docker
 
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
-[![Build 
Status](https://travis-ci.com/apache/openwhisk-runtime-docker.svg?branch=master)](https://travis-ci.com/github/apache/openwhisk-runtime-docker)
+[![Continuous 
Integration](https://github.com/apache/openwhisk-runtime-docker/actions/workflows/ci.yaml/badge.svg)](https://github.com/apache/openwhisk-runtime-docker/actions/workflows/ci.yaml)
 
 
 ### Give it a try today
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
deleted file mode 100755
index d295f19..0000000
--- a/tools/travis/build.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-set -ex
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-WHISKDIR="$ROOTDIR/../openwhisk"
-UTILDIR="$ROOTDIR/../openwhisk-utilities"
-
-export OPENWHISK_HOME=$WHISKDIR
-
-# run scancode using the ASF Release configuration
-cd $UTILDIR
-scancode/scanCode.py --config scancode/ASF-Release.cfg $ROOTDIR
-
-# Build OpenWhisk deps before we run tests
-cd $WHISKDIR
-TERM=dumb ./gradlew install tests:buildArtifacts
-# Mock file (works around bug upstream)
-echo "openwhisk.home=$WHISKDIR" > whisk.properties
-echo "vcap.services.file=" >> whisk.properties
-
-# Build runtime
-cd $ROOTDIR
-TERM=dumb ./gradlew distDocker
diff --git a/tools/travis/build_sdk.sh b/tools/travis/build_sdk.sh
deleted file mode 100755
index d2dd039..0000000
--- a/tools/travis/build_sdk.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-set -ex
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-
-#Build SDK TGZ
-${ROOTDIR}/sdk/docker/build_tgz.sh blackbox.tar.gz
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
deleted file mode 100755
index a10502e..0000000
--- a/tools/travis/publish.sh
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-set -eux
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-WHISKDIR="$ROOTDIR/../openwhisk"
-
-export OPENWHISK_HOME=$WHISKDIR
-
-IMAGE_PREFIX=$1
-IMAGE_NAME=$2
-IMAGE_TAG=$3
-GRADLE_BUILD=":core:actionProxy:distDocker"
-
-if [ ${IMAGE_NAME} == "dockerskeleton" ]; then
-  GRADLE_BUILD=":core:actionProxy:distDocker"
-elif [ ${IMAGE_NAME} == "example" ]; then
-  GRADLE_BUILD=":sdk:docker:distDocker"
-fi
-
-if [[ ! -z ${DOCKER_USER} ]] && [[ ! -z ${DOCKER_PASSWORD} ]]; then
-  docker login -u "${DOCKER_USER}" -p "${DOCKER_PASSWORD}"
-fi
-
-if [[ ! -z ${GRADLE_BUILD} ]] && [[ ! -z ${IMAGE_PREFIX} ]] && [[ ! -z 
${IMAGE_TAG} ]]; then
-  TERM=dumb ./gradlew \
-  ${GRADLE_BUILD} \
-  -PdockerRegistry=docker.io \
-  -PdockerImagePrefix=${IMAGE_PREFIX} \
-  -PdockerImageTag=${IMAGE_TAG}
-
-    # if doing nightly also push a tag with the hash commit
-  if [ ${IMAGE_TAG} == "nightly" ]; then
-    SHORT_COMMIT=`git rev-parse --short HEAD`
-    TERM=dumb ./gradlew \
-    ${GRADLE_BUILD} \
-    -PdockerRegistry=docker.io \
-    -PdockerImagePrefix=${IMAGE_PREFIX} \
-    -PdockerImageTag=${SHORT_COMMIT}
-  fi
-
-fi
diff --git a/tools/travis/rename_sdk.sh b/tools/travis/rename_sdk.sh
deleted file mode 100755
index 9dfc3f7..0000000
--- a/tools/travis/rename_sdk.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-set -ex
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-BUILDOUTPUTDIR="${ROOTDIR}/build"
-
-BUILD_TYPE=$1
-BUILD_VERSION=$2
-
-if [ ${BUILD_TYPE} == "sdk" ]; then
-  find ${ROOTDIR}
-  ls ${BUILDOUTPUTDIR}/
-  mv ${BUILDOUTPUTDIR}/blackbox.tar.gz 
${BUILDOUTPUTDIR}/blackbox-${BUILD_VERSION}.tar.gz
-fi
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
deleted file mode 100755
index 03bf8cb..0000000
--- a/tools/travis/setup.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-set -e
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-HOMEDIR="$SCRIPTDIR/../../../"
-
-# clone OpenWhisk utilities repo. in order to run scanCode
-cd $HOMEDIR
-git clone https://github.com/apache/openwhisk-utilities.git
-
-# clone main openwhisk repo. for testing purposes
-git clone --depth=1 https://github.com/apache/openwhisk.git openwhisk
-cd openwhisk
-
-./tools/travis/setup.sh
diff --git a/tools/travis/test.sh b/tools/travis/test.sh
deleted file mode 100755
index a5b249d..0000000
--- a/tools/travis/test.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-set -ex
-
-# Build script for Travis-CI.
-
-SCRIPTDIR=$(cd $(dirname "$0") && pwd)
-ROOTDIR="$SCRIPTDIR/../.."
-WHISKDIR="$ROOTDIR/../openwhisk"
-
-export OPENWHISK_HOME=$WHISKDIR
-cd ${ROOTDIR}
-TERM=dumb ./gradlew :tests:checkScalafmtAll
-TERM=dumb ./gradlew :tests:test

Reply via email to