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

Docs: fix update scripts usage #2067

Merged
merged 7 commits into from
Nov 18, 2024

Apply suggestions from code review

a8a862d
Select commit
Loading
Failed to load commit list.
Merged

Docs: fix update scripts usage #2067

Apply suggestions from code review
a8a862d
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Nov 18, 2024 in 3h 44m 8s

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 #2067 Docs fix spelling issues.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has five jobs, running in parallel.

Job Python ENV OS State Notes
6117.1 Linux | x86_64 + i686 | Python 3.9 3.9 PYTHON=python Linux passed
6117.2 Linux | arm64 | Python 3.9 3.9 PYTHON=python Linux passed
6117.3 Windows | x86_64 | Python 3.9 PYTHON=C:\\Python39\\python windows passed
6117.4 Linux | ppc64le | Python 3.9 3.9 PYTHON=python Linux failed This job is allowed to fail.
6117.5 Linux | s390x | Python 3.9 3.9 PYTHON=python Linux passed This job is allowed to fail.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Focal)
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "branches": {
    "only": [
      "main"
    ]
  },
  "jobs": {
    "include": [
      {
        "name": "Linux | x86_64 + i686 | Python 3.9",
        "python": "3.9",
        "services": [
          "docker"
        ],
        "env": [
          {
            "PYTHON": "python"
          }
        ]
      },
      {
        "name": "Linux | arm64 | Python 3.9",
        "python": "3.9",
        "services": [
          "docker"
        ],
        "arch": "arm64-graviton2",
        "group": "edge",
        "virt": "vm",
        "env": [
          {
            "PYTHON": "python"
          }
        ],
        "addons": {
          "apt": {
            "sources": [
              {
                "sourceline": "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
              }
            ],
            "packages": [
              "docker-ce docker-ce-cli containerd.io"
            ]
          }
        }
      },
      {
        "name": "Linux | ppc64le | Python 3.9",
        "python": "3.9",
        "services": [
          "docker"
        ],
        "arch": "ppc64le",
        "allow_failure": true,
        "env": [
          {
            "PYTHON": "python"
          },
          {
            "PYTEST_ADDOPTS": "'-k \"not test_manylinuxXXXX_only\"'"
          }
        ]
      },
      {
        "name": "Windows | x86_64 | Python 3.9",
        "os": "windows",
        "language": "shell",
        "before_install": [
          "choco upgrade python3 -y --version 3.9.13 --limit-output --params \"/InstallDir:C:\\\\Python39\""
        ],
        "env": [
          {
            "PYTHON": "C:\\\\Python39\\\\python"
          }
        ]
      },
      {
        "name": "Linux | s390x | Python 3.9",
        "python": "3.9",
        "services": [
          "docker"
        ],
        "arch": "s390x",
        "allow_failure": true,
        "env": [
          {
            "PYTHON": "python"
          }
        ]
      }
    ]
  },
  "install": [
    "if [ \"${TRAVIS_OS_NAME}\" == \"linux\" ]; then docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all; fi",
    "$PYTHON -m pip install -U pip",
    "$PYTHON -m pip install -e \".[test]\" pytest-custom-exit-code"
  ],
  "script": [
    "# travis_wait disable the output while waiting\n# use the same kind of tricks as in multibuild\n(while true; do echo \"travis_keep_alive\"; sleep 300; done) &\nSPINNER_PID=$!\ndisown\nresult=0\n$PYTHON ./bin/run_tests.py --num-processes 2 || result=1\nkill -9 ${SPINNER_PID}\ntest ${result} -eq 0"
  ]
}