Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add end of life note #1299

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Add end of life note

5828bf9
Select commit
Loading
Failed to load commit list.
Open

Add end of life note #1299

Add end of life note
5828bf9
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Feb 14, 2024 in 6m 36s

Build Passed

The build passed.

Details

This is a normal build for the add-eol-note branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has four jobs, running in parallel.

Job Go ENV OS State
2694.1 1.21.4 GO111MODULE=on Linux passed
2694.2 1.20.11 GO111MODULE=on Linux passed
2694.3 1.21.4 GO111MODULE=on windows passed
2694.4 1.20.11 GO111MODULE=on windows passed

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Xenial), windows
Go Versions 1.21.4, 1.20.11
Build Configuration
{
  "language": "go",
  "os": [
    "linux",
    "windows"
  ],
  "dist": "xenial",
  "vm": {
    "size": "2x-large"
  },
  "go": [
    "1.21.4",
    "1.20.11"
  ],
  "addons": {
    "apt": {
      "packages": [
        "rpm"
      ]
    }
  },
  "env": [
    "jobs={:GO111MODULE=>\"on\"}"
  ],
  "go_import_path": "github.com/nats-io/nats-streaming-server",
  "install": [
    "if [[ \"$TRAVIS_OS_NAME\" == \"linux\" ]]; then if [[ \"$TRAVIS_GO_VERSION\" =~ 1.20 ]]; then go install honnef.co/go/tools/cmd/staticcheck@latest; go install github.com/client9/misspell/cmd/misspell@latest; fi; fi"
  ],
  "services": [
    "mysql"
  ],
  "before_script": [
    "if [[ \"$TRAVIS_OS_NAME\" == \"linux\" ]]; then GO_LIST=$(go list ./... | grep -v \"/spb\"); go install; $(exit $(go fmt $GO_LIST | wc -l)); go vet $GO_LIST; if [[ \"$TRAVIS_GO_VERSION\" =~ 1.20 ]]; then find . -type f -name \"*.go\" | grep -v \"/spb/\" | xargs misspell -error -locale US; staticcheck $GO_LIST; fi; fi"
  ],
  "script": [
    "set -e",
    "if [[ $TRAVIS_TAG ]]; then go test -v -run=TestVersionMatchesTag ./server -sql=false; fi",
    "if [[ ! $TRAVIS_TAG ]]; then if [[ \"$TRAVIS_OS_NAME\" == \"linux\" ]]; then mysql -u root -e \"CREATE USER 'nss'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON *.* TO 'nss'@'localhost'; CREATE DATABASE test_nats_streaming;\"; if [[ \"$TRAVIS_GO_VERSION\" =~ 1.21 ]]; then ./scripts/cov.sh TRAVIS; else go test -v -p=1 ./... -count=1 -vet=off -failfast; fi; fi; fi",
    "if [[ ! $TRAVIS_TAG ]]; then if [[ \"$TRAVIS_OS_NAME\" == \"windows\" ]]; then if [[ \"$TRAVIS_GO_VERSION\" =~ 1.21 ]]; then go build; else go install; go test -v -p=1 ./... -count=1 -vet=off -sql=false -failfast; fi; fi; fi",
    "set +e"
  ],
  "after_success": [
    "if [[ \"$TRAVIS_OS_NAME\" == \"linux\" ]]; then if [[ ! $TRAVIS_TAG ]]; then if [[ \"$TRAVIS_GO_VERSION\" =~ 1.21 ]]; then $HOME/gopath/bin/goveralls -coverprofile=acc.out -service travis-ci; fi; fi; fi"
  ],
  "deploy": [
    {
      "provider": "script",
      "cleanup": true,
      "script": "curl -sL http://git.io/goreleaser | bash",
      "on": {
        "tags": true,
        "condition": [
          "(\"$TRAVIS_OS_NAME\" = \"linux\") && (\"$TRAVIS_GO_VERSION\" =~ \"1.20\")"
        ]
      }
    }
  ]
}