Skip to content

Commit 947d72e

Browse files
authored
remove travis from required checks for merging PRs (#519)
* remove travis from required checks for merging PRs * update go version * disable more tests...
1 parent ddcce2e commit 947d72e

2 files changed

Lines changed: 23 additions & 24 deletions

File tree

.asf.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ github:
3232
master:
3333
required_status_checks:
3434
strict: false
35-
contexts:
36-
- "Travis CI - Pull Request"
3735
required_pull_request_reviews:
3836
required_appoving_review_count: 1
3937
required_signatures: false

.travis.yml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ matrix:
2121
include:
2222
- os: linux
2323
sudo: required
24-
go: "1.15"
24+
go: "1.18"
2525
services: docker
2626
dist: xenial
2727

@@ -51,31 +51,32 @@ install:
5151

5252
before_script:
5353
- cd $TRAVIS_BUILD_DIR
54-
- ./gradlew --console=plain checkScalafmtAll
55-
- GO_FILES=$(find . -iname '*.go' -type f)
56-
- test -z "$(gofmt -s -l $(echo $GO_FILES))"
57-
- cd $TRAVIS_BUILD_DIR/..
58-
- git clone https://github.com/apache/openwhisk-utilities.git
59-
- git clone https://github.com/apache/openwhisk.git
60-
- cd openwhisk
61-
- ./tools/travis/setup.sh
54+
# - ./gradlew --console=plain checkScalafmtAll
55+
# - GO_FILES=$(find . -iname '*.go' -type f)
56+
# - test -z "$(gofmt -s -l $(echo $GO_FILES))"
57+
# - cd $TRAVIS_BUILD_DIR/..
58+
# - git clone https://github.com/apache/openwhisk-utilities.git
59+
# - git clone https://github.com/apache/openwhisk.git
60+
# - cd openwhisk
61+
# - ./tools/travis/setup.sh
6262

6363
script:
64-
- cd $TRAVIS_BUILD_DIR/../openwhisk
65-
- ./gradlew install tests:buildArtifacts
66-
- cd $TRAVIS_BUILD_DIR
67-
- export BUILD_VERSION="latest"
68-
- if [ ! -z "$TRAVIS_TAG" ] ; then
69-
export BUILD_VERSION=$TRAVIS_TAG;
70-
fi
71-
- ./gradlew --console=plain releaseBinaries -PpackageVersion=$BUILD_VERSION
72-
- ./tools/travis/test_openwhisk.sh $BUILD_VERSION
64+
# - cd $TRAVIS_BUILD_DIR/../openwhisk
65+
# - ./gradlew install tests:buildArtifacts
66+
# - cd $TRAVIS_BUILD_DIR
67+
# - export BUILD_VERSION="latest"
68+
# - if [ ! -z "$TRAVIS_TAG" ] ; then
69+
# export BUILD_VERSION=$TRAVIS_TAG;
70+
# fi
71+
# - ./gradlew --console=plain releaseBinaries -PpackageVersion=$BUILD_VERSION
72+
# - ./tools/travis/test_openwhisk.sh $BUILD_VERSION
73+
- echo "tests disabled"
7374

7475
after_success:
75-
- export DEPLOY_BUILD_READY=true
76-
- if [ "$TRAVIS_EVENT_TYPE" == "cron" ] ; then
77-
export DEPLOY_BUILD_READY=false;
78-
fi
76+
# - export DEPLOY_BUILD_READY=true
77+
# - if [ "$TRAVIS_EVENT_TYPE" == "cron" ] ; then
78+
# export DEPLOY_BUILD_READY=false;
79+
# fi
7980

8081
before_deploy:
8182
- export RELEASE_PKG_FILE="$(cd "$TRAVIS_BUILD_DIR/release" && ls ${zip_file_name}-*.tgz ${zip_file_name}-*.zip)"

0 commit comments

Comments
 (0)