Skip to content

Create docker-image.yml

8ae20f3
Select commit
Loading
Failed to load commit list.
Closed

Docker CI #53

Create docker-image.yml
8ae20f3
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch required action Jul 25, 2025 in 1m 16s

Build Errored

The build errored, just like the previous build.

Details

This is a normal build for the docker-ci branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has four jobs, running in two sequential stages.

Stage 1: test

This stage errored.

Job Python ENV OS State
158.1 3.8 PYPI_TOKEN=[secure] Linux errored
158.2 3.9 PYPI_TOKEN=[secure] Linux errored
158.3 3.10 PYPI_TOKEN=[secure] Linux errored

Stage 2: deploy

This stage canceled.

Job Python ENV OS State
158.4 3.10 PYPI_TOKEN=[secure] Linux canceled

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Focal)
Python Versions 3.8, 3.9, 3.10
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "python": [
    "3.8",
    "3.9",
    "3.10"
  ],
  "services": [
    "docker"
  ],
  "before_install": [
    "ssl/prepare-certs.sh",
    "docker pull rabbitmq:3.8.11-alpine",
    "docker run --rm -d -p 5671:5671 -p 5672:5672 -v \"/${TRAVIS_BUILD_DIR}\"/ssl:/ssl -e RABBITMQ_SSL_CACERTFILE=/ssl/ca.cert -e RABBITMQ_SSL_CERTFILE=/ssl/server.cert -e RABBITMQ_SSL_KEYFILE=/ssl/server.key -e RABBITMQ_SSL_VERIFY=verify_peer -e RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT=true rabbitmq:3.8.11-alpine",
    "python -m pip install poetry~=1.1.0 tox-travis"
  ],
  "install": [
    "poetry install -v"
  ],
  "script": [
    "tox"
  ],
  "jobs": {
    "include": [
      {
        "stage": "deploy",
        "python": "3.10",
        "before_install": [
          "python -m pip install poetry"
        ],
        "install": [
          "skip"
        ],
        "script": [
          "skip"
        ],
        "before_deploy": [
          "poetry version $(git describe --tags --exact-match --match=\"v*.*.*\" | cut -b2-)",
          "poetry config pypi-token.pypi $PYPI_TOKEN"
        ],
        "deploy": [
          {
            "provider": "script",
            "skip_cleanup": true,
            "script": "poetry publish --build",
            "on": {
              "tags": true
            }
          }
        ]
      }
    ]
  },
  "env": [
    "global=PYPI_TOKEN=[secure]"
  ]
}