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

fix: evaluate environment-pass before environment, so environment can reference or override those variables #1617

Merged
merged 4 commits into from
Oct 3, 2023

Merge remote-tracking branch 'origin/main' into env-order

29cb138
Select commit
Loading
Failed to load commit list.
Merged

fix: evaluate environment-pass before environment, so environment can reference or override those variables #1617

Merge remote-tracking branch 'origin/main' into env-order
29cb138
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Sep 19, 2023 in 2h 35m 5s

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 #1617 Evaluate environment-pass before environment, so environment can reference or override those variables.
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
4976.1 Linux | x86_64 + i686 | Python 3.9 3.9 PYTHON=python Linux passed
4976.2 Linux | arm64 | Python 3.9 3.9 PYTHON=python Linux passed
4976.3 Windows | x86_64 | Python 3.9 PYTHON=C:\\Python39\\python windows passed
4976.4 Linux | s390x | Python 3.9 3.9 PYTHON=python Linux passed
4976.5 Linux | ppc64le | 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"
          }
        ]
      },
      {
        "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",
        "env": [
          {
            "PYTHON": "python"
          }
        ]
      }
    ]
  },
  "install": [
    "$PYTHON -m pip install -U pip",
    "$PYTHON -m pip install -e \".[dev]\" 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\n$PYTHON ./bin/run_tests.py\nkill -9 ${SPINNER_PID}"
  ]
}