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 graceful shutdown example #626

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

rm unnecessary conn close eval

e46b5bb
Select commit
Loading
Failed to load commit list.
Open

add graceful shutdown example #626

rm unnecessary conn close eval
e46b5bb
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Oct 29, 2024 in 5m 32s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #626 add graceful shutdown example.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has eight jobs, running in parallel.

Job Python ENV State Notes
2214.1 3.8 passed
2214.2 3.9 passed
2214.3 3.10 passed
2214.4 Python: 3.13 3.13 failed This job is allowed to fail.
2214.5 Python: 3.12 3.12 passed This job is allowed to fail.
2214.6 Python: 3.11 3.11 passed This job is allowed to fail.
2214.7 Python: 3.11/uvloop 3.11 passed This job is allowed to fail.
2214.8 Python: 3.11 (nats-server@main) 3.11 NATS_SERVER_VERSION=main failed This job is allowed to fail.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Jammy)
Python Versions 3.8, 3.9, 3.10
Build Configuration
{
  "language": "python",
  "cache": {
    "directories": [
      "$HOME/nats-server"
    ]
  },
  "python": [
    "3.8",
    "3.9",
    "3.10"
  ],
  "before_install": [
    "bash ./scripts/install_nats.sh"
  ],
  "before_script": [
    "export PATH=$HOME/nats-server:$PATH"
  ],
  "install": [
    "pip install -e .[nkeys,aiohttp,fast-mail-parser]"
  ],
  "script": [
    "make ci"
  ],
  "notifications": {
    "email": false
  },
  "sudo": true,
  "dist": "jammy",
  "jobs": {
    "include": [
      {
        "name": "Python: 3.13",
        "python": "3.13",
        "before_install": [
          "sudo apt update && sudo apt install gcc build-essential -y",
          "sudo apt-get install python3-pip",
          "sudo apt-get install python3-pytest",
          "pip install --upgrade pip",
          "bash ./scripts/install_nats.sh"
        ],
        "install": [
          "pip install -e .[fast-mail-parser]"
        ]
      },
      {
        "name": "Python: 3.12",
        "python": "3.12",
        "before_install": [
          "sudo apt update && sudo apt install gcc build-essential -y",
          "sudo apt-get install python3-pip",
          "sudo apt-get install python3-pytest",
          "pip install --upgrade pip",
          "bash ./scripts/install_nats.sh"
        ],
        "install": [
          "pip install -e .[fast-mail-parser]"
        ]
      },
      {
        "name": "Python: 3.11",
        "python": "3.11",
        "before_install": [
          "sudo apt update && sudo apt install gcc build-essential -y",
          "sudo apt-get install python3-pip",
          "sudo apt-get install python3-pytest",
          "pip install --upgrade pip",
          "bash ./scripts/install_nats.sh"
        ],
        "install": [
          "pip install -e .[fast-mail-parser]"
        ]
      },
      {
        "name": "Python: 3.11/uvloop",
        "python": "3.11",
        "before_install": [
          "sudo apt update && sudo apt install gcc build-essential -y",
          "sudo apt-get install python3-pip",
          "sudo apt-get install python3-pytest",
          "pip install --upgrade pip",
          "bash ./scripts/install_nats.sh"
        ],
        "install": [
          "pip install -e .[fast-mail-parser]",
          "pip install uvloop"
        ]
      },
      {
        "name": "Python: 3.11 (nats-server@main)",
        "python": "3.11",
        "env": [
          "NATS_SERVER_VERSION=main"
        ],
        "before_install": [
          "sudo apt update && sudo apt install gcc build-essential -y",
          "sudo apt-get install python3-pip",
          "sudo apt-get install python3-pytest",
          "pip install --upgrade pip",
          "bash ./scripts/install_nats.sh"
        ],
        "install": [
          "pip install -e .[fast-mail-parser]"
        ]
      }
    ],
    "allow_failures": [
      {
        "name": "Python: 3.8"
      },
      {
        "name": "Python: 3.11"
      },
      {
        "name": "Python: 3.11/uvloop"
      },
      {
        "name": "Python: 3.11 (nats-server@main)"
      },
      {
        "name": "Python: 3.12"
      },
      {
        "name": "Python: 3.13"
      }
    ]
  },
  "os": "linux",
  "group": "stable"
}