You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2022/12/21 22:01:28 UTC

[openwhisk-cli] branch master updated: remove travis from required checks for merging PRs (#519)

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


The following commit(s) were added to refs/heads/master by this push:
     new 947d72eb remove travis from required checks for merging PRs (#519)
947d72eb is described below

commit 947d72eb7440293d9f0a0fcd8a8dee3a4d630bc9
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Wed Dec 21 17:01:22 2022 -0500

    remove travis from required checks for merging PRs (#519)
    
    * remove travis from required checks for merging PRs
    * update go version
    * disable more tests...
---
 .asf.yaml   |  2 --
 .travis.yml | 45 +++++++++++++++++++++++----------------------
 2 files changed, 23 insertions(+), 24 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 299a5cef..2c0cc870 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -32,8 +32,6 @@ github:
     master:
       required_status_checks:
         strict: false
-        contexts:
-          - "Travis CI - Pull Request"
       required_pull_request_reviews:
         required_appoving_review_count: 1
       required_signatures: false
diff --git a/.travis.yml b/.travis.yml
index bf6a223a..60b41962 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,7 +21,7 @@ matrix:
   include:
     - os: linux
       sudo: required
-      go: "1.15"
+      go: "1.18"
       services: docker
       dist: xenial
 
@@ -51,31 +51,32 @@ install:
 
 before_script:
   - cd $TRAVIS_BUILD_DIR
-  - ./gradlew --console=plain checkScalafmtAll
-  - GO_FILES=$(find . -iname '*.go' -type f)
-  - test -z "$(gofmt -s -l $(echo $GO_FILES))"
-  - cd $TRAVIS_BUILD_DIR/..
-  - git clone https://github.com/apache/openwhisk-utilities.git
-  - git clone https://github.com/apache/openwhisk.git
-  - cd openwhisk
-  - ./tools/travis/setup.sh
+  # - ./gradlew --console=plain checkScalafmtAll
+  # - GO_FILES=$(find . -iname '*.go' -type f)
+  # - test -z "$(gofmt -s -l $(echo $GO_FILES))"
+  # - cd $TRAVIS_BUILD_DIR/..
+  # - git clone https://github.com/apache/openwhisk-utilities.git
+  # - git clone https://github.com/apache/openwhisk.git
+  # - cd openwhisk
+  # - ./tools/travis/setup.sh
 
 script:
-  - cd $TRAVIS_BUILD_DIR/../openwhisk
-  - ./gradlew install tests:buildArtifacts
-  - cd $TRAVIS_BUILD_DIR
-  - export BUILD_VERSION="latest"
-  - if [ ! -z "$TRAVIS_TAG" ] ; then
-    export BUILD_VERSION=$TRAVIS_TAG;
-    fi
-  - ./gradlew --console=plain releaseBinaries -PpackageVersion=$BUILD_VERSION
-  - ./tools/travis/test_openwhisk.sh $BUILD_VERSION
+  # - cd $TRAVIS_BUILD_DIR/../openwhisk
+  # - ./gradlew install tests:buildArtifacts
+  # - cd $TRAVIS_BUILD_DIR
+  # - export BUILD_VERSION="latest"
+  # - if [ ! -z "$TRAVIS_TAG" ] ; then
+  #   export BUILD_VERSION=$TRAVIS_TAG;
+  #   fi
+  # - ./gradlew --console=plain releaseBinaries -PpackageVersion=$BUILD_VERSION
+  # - ./tools/travis/test_openwhisk.sh $BUILD_VERSION
+  - echo "tests disabled"
 
 after_success:
-  - export DEPLOY_BUILD_READY=true
-  - if [ "$TRAVIS_EVENT_TYPE" == "cron" ] ; then
-    export DEPLOY_BUILD_READY=false;
-    fi
+  # - export DEPLOY_BUILD_READY=true
+  # - if [ "$TRAVIS_EVENT_TYPE" == "cron" ] ; then
+  #   export DEPLOY_BUILD_READY=false;
+  #   fi
 
 before_deploy:
   - export RELEASE_PKG_FILE="$(cd "$TRAVIS_BUILD_DIR/release" && ls ${zip_file_name}-*.tgz ${zip_file_name}-*.zip)"