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 FastAPI support #282

Closed
wants to merge 7 commits into from

ci: cache rust

67cc779
Select commit
Loading
Failed to load commit list.
Closed

Add FastAPI support #282

ci: cache rust
67cc779
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Feb 27, 2024 in 16m 33s

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 #282 Add FastAPI support.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has seven jobs, running in three sequential stages.

Stage 1: test

This stage passed.

Job Python OS State
1170.1 3.12 Linux passed
1170.2 3.11 Linux passed
1170.3 3.10 Linux passed
1170.4 3.9.14 Linux passed
1170.5 3.8 Linux passed

Stage 2: smoke test

This stage passed.

Job Python OS State
1170.6 3.12 Linux passed

Stage 3: release

This stage passed.

Job Python OS State
1170.7 3.12 Linux passed

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Jammy)
Python Versions 3.12, 3.11, 3.10, 3.9.14, 3.8
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "python": [
    "3.12",
    "3.11",
    "3.10",
    "3.9.14",
    "3.8"
  ],
  "if": "type != push OR branch = master OR branch =~ /^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/",
  "before_install": [
    "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal\nsource \"$HOME/.cargo/env\"\npip -q install --upgrade pip 'setuptools==65.6.2' 'poetry>=1.2.0'\n"
  ],
  "install": [
    "pip -q install --upgrade \"tox < 4\" tox-travis"
  ],
  "script": [
    "tox"
  ],
  "cache": {
    "cargo": true,
    "pip": true,
    "directories": [
      "$TRAVIS_BUILD_DIR/.tox/",
      "$HOME/.cache/pypoetry"
    ]
  },
  "jobs": {
    "include": [
      {
        "stage": "smoke test",
        "services": [
          "docker"
        ],
        "script": [
          "pip -q install poetry",
          "poetry build",
          "echo \"$DOCKERHUB_PASSWORD\" | docker login -u \"$DOCKERHUB_USERNAME\" --password-stdin",
          "ci/run_tests.sh"
        ]
      },
      {
        "stage": "release",
        "if": "branch = master",
        "script": [
          "skip"
        ],
        "before_deploy": [
          "pip -q install poetry",
          "nvm install lts/*",
          "npm i -g semantic-release @semantic-release/exec @semantic-release/git @semantic-release/changelog @google/semantic-release-replace-plugin"
        ],
        "deploy": [
          {
            "provider": "script",
            "script": "semantic-release",
            "on": {
              "branch": [
                "master"
              ]
            }
          }
        ]
      }
    ]
  }
}