From 6db9bfb99f74684b5303ed92f937a15439393b3a Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Mon, 23 Aug 2021 11:20:12 -0400 Subject: [PATCH] Delete .travis.yml --- .travis.yml | 57 ----------------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d973ea5b70..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,57 +0,0 @@ -dist: bionic -language: go -go: - - '1.15' -git: - depth: 1 - -jobs: - include: - - arch: amd64 - # Travis arm64 builds hang indefinitely :( - # https://github.com/google/ko/issues/383 - # - arch: arm64 - - arch: s390x - - arch: ppc64le - - arch: mips64le - -script: - # Make sure ko compiles for the right architecture. - - eval $(go env) - - go install -mod=vendor ./cmd/ko - # Try with all, and GOOS/GOARCH set. - - | - OUTPUT=$(GOOS=${GOOS} GOARCH=${GOARCH} KO_DOCKER_REPO=ko.local ko publish --platform=all -B ./cmd/ko/test 2>&1) - if [[ ! "${OUTPUT}" =~ "cannot use --platform with GOOS=\"${GOOS}\"" ]]; then - echo Mismatched output: ${OUTPUT}, wanted: "cannot use --platform with GOOS=\"${GOOS}\"" - exit 1 - fi - - # Try with the appropriate platform. - - | - KO_DOCKER_REPO=ko.local ko publish --platform=${GOOS}/${GOARCH} -B ./cmd/ko/test - OUTPUT=$(docker run -i ko.local/test -wait=false 2>&1) - if [[ ! "${OUTPUT}" =~ "$(cat ./cmd/ko/test/kodata/kenobi)" ]]; then - echo Mismatched output: ${OUTPUT}, wanted: $(cat ./cmd/ko/test/kodata/kenobi) - exit 1 - fi - if [[ ! "${OUTPUT}" =~ "$(cat ./cmd/ko/test/kodata/HEAD)" ]]; then - echo Mismatched output: ${OUTPUT}, wanted: $(cat ./cmd/ko/test/kodata/HEAD) - exit 1 - fi - - # Try with just GOOS/GOARCH - - | - GOOS=${GOOS} GOARCH=${GOARCH} KO_DOCKER_REPO=ko.local ko publish -B ./cmd/ko/test - OUTPUT=$(docker run -i ko.local/test -wait=false 2>&1) - if [[ ! "${OUTPUT}" =~ "$(cat ./cmd/ko/test/kodata/kenobi)" ]]; then - echo Mismatched output: ${OUTPUT}, wanted: $(cat ./cmd/ko/test/kodata/kenobi) - exit 1 - fi - if [[ ! "${OUTPUT}" =~ "$(cat ./cmd/ko/test/kodata/HEAD)" ]]; then - echo Mismatched output: ${OUTPUT}, wanted: $(cat ./cmd/ko/test/kodata/HEAD) - exit 1 - fi - -notifications: - email: false