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 build action #289

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

wip: build debugging

f5f3d3a
Select commit
Loading
Failed to load commit list.
Draft

Add build action #289

wip: build debugging
f5f3d3a
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Mar 14, 2024 in 24m 17s

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 #289 Add build action.
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
1199.1 3.12 Linux passed
1199.2 3.11 Linux passed
1199.3 3.10 Linux passed
1199.4 3.9.14 Linux passed
1199.5 3.8 Linux passed

Stage 2: smoke test

This stage passed.

Job Python OS State
1199.6 3.12 Linux passed

Stage 3: release

This stage passed.

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