module pycode.ci_helper

Short summary

module pyquickhelper.pycode.ci_helper

Helpers for CI.

source on GitHub

Functions

function

truncated documentation

is_travis_or_appveyor

Tells if is a travis environment or appveyor.

Documentation

Helpers for CI.

source on GitHub

pyquickhelper.pycode.ci_helper.is_travis_or_appveyor(env=None)[source]

Tells if is a travis environment or appveyor.

Parameters:

env – checks that a environment variable is set up.

Returns:

'travis', 'appveyor', 'circleci' or 'azurepipe' or None

The function should rely more on environement variables CI, TRAVIS, APPVEYOR, AZURE_HTTP_USER_AGENT.

source on GitHub