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

Tmp/test #1134

Closed
wants to merge 2 commits into from

Update cfg_help.py

14a003e
Select commit
Loading
Failed to load commit list.
Closed

Tmp/test #1134

Update cfg_help.py
14a003e
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Jan 4, 2024 in 5m 57s

Build Passed

The build passed. This is a change from the previous build, which failed.

Details

This is a normal build for the tmp/test branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Jammy)
Python Version 3.9
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "python": [
    "3.9"
  ],
  "sudo": false,
  "cache": {
    "pip": true
  },
  "services": [
    "postgresql"
  ],
  "addons": {
    "postgresql": "13",
    "apt": {
      "sources": [
        {
          "sourceline": "deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main 13",
          "key_url": "https://www.postgresql.org/media/keys/ACCC4CF8.asc"
        }
      ],
      "packages": [
        "postgresql-13"
      ]
    }
  },
  "before_install": [
    "sudo cp travis/postgresql.conf /etc/postgresql/13/main/postgresql.conf",
    "sudo cp travis/pg_hba.conf /etc/postgresql/13/main/pg_hba.conf",
    "sudo pg_ctlcluster 13 main restart"
  ],
  "install": [
    "pip install --upgrade pip",
    "pip install poetry",
    "poetry install --all-extras -vv --no-interaction",
    "poetry show -vv",
    "psql -c 'SELECT version();' -U postgres",
    "psql -U postgres -c \"create database fence_test_tmp\"",
    "pip list"
  ],
  "before_script": [
    "sudo rm -f /etc/boto.cfg",
    "mkdir -p tests/resources/keys; cd tests/resources/keys; openssl genrsa -out test_private_key.pem 2048; openssl rsa -in test_private_key.pem -pubout -out test_public_key.pem",
    "openssl genrsa -out test_private_key_2.pem 2048; openssl rsa -in test_private_key_2.pem -pubout -out test_public_key_2.pem",
    "cd -"
  ],
  "script": [
    "poetry run pytest -vv --cov=fence --cov=migrations/versions --cov-report xml tests"
  ],
  "after_script": [
    "python-codacy-coverage -r coverage.xml",
    "COVERALLS_REPO_TOKEN=$COVERALLS_TOKEN coveralls"
  ]
}