Skip to content

ci: Limit django5 tests to Python >= 3.10

ca28746
Select commit
Loading
Failed to load commit list.
Merged

ci: Update tox configuration to run Django5 #375

ci: Limit django5 tests to Python >= 3.10
ca28746
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Dec 18, 2024 in 16m 59s

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 #375 feat (wip): Update tox configuration to run Django5.
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
1453.1 3.12 Linux passed
1453.2 3.11 Linux passed
1453.3 3.10 Linux passed
1453.4 3.9.14 Linux passed
1453.5 3.8 Linux passed

Stage 2: smoke test

This stage passed.

Job Python OS State
1453.6 3.12 Linux passed

Stage 3: release

This stage passed.

Job Python OS State
1453.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"
              ]
            }
          }
        ]
      }
    ]
  }
}